aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/javanano/javanano_file.h
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-19 15:58:54 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-19 15:58:54 -0800
commitcd980d1c13c736b0f9fc453843f696a93c2c2a71 (patch)
tree49fdf3f8ef0b5fff091097d9d14df3d6d5c22fd7 /src/google/protobuf/compiler/javanano/javanano_file.h
parent6dc3924536cb4994edd5bd330da1d24424b7f8af (diff)
Prepare nano proto code to be merged into protobuf repository.
Diffstat (limited to 'src/google/protobuf/compiler/javanano/javanano_file.h')
-rw-r--r--src/google/protobuf/compiler/javanano/javanano_file.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/google/protobuf/compiler/javanano/javanano_file.h b/src/google/protobuf/compiler/javanano/javanano_file.h
index 94727211..217eafe2 100644
--- a/src/google/protobuf/compiler/javanano/javanano_file.h
+++ b/src/google/protobuf/compiler/javanano/javanano_file.h
@@ -32,8 +32,8 @@
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
-#ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
-#define GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
+#ifndef GOOGLE_PROTOBUF_COMPILER_JAVANANO_FILE_H__
+#define GOOGLE_PROTOBUF_COMPILER_JAVANANO_FILE_H__
#include <string>
#include <vector>
@@ -47,7 +47,7 @@ namespace protobuf {
class Printer; // printer.h
}
namespace compiler {
- class OutputDirectory; // code_generator.h
+ class GeneratorContext; // code_generator.h
}
}
@@ -71,7 +71,7 @@ class FileGenerator {
// files other than the outer file (i.e. one for each message, enum, and
// service type).
void GenerateSiblings(const string& package_dir,
- OutputDirectory* output_directory,
+ GeneratorContext* output_directory,
vector<string>* file_list);
const string& java_package() { return java_package_; }
@@ -91,4 +91,4 @@ class FileGenerator {
} // namespace protobuf
} // namespace google
-#endif // GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
+#endif // GOOGLE_PROTOBUF_COMPILER_JAVANANO_FILE_H__