| Index: third_party/protobuf/src/google/protobuf/compiler/java/java_file.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h b/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h
|
| index 9e35d3306ee50f582d2f60b439dc960e586088d2..59911462668d56811f2bcc762a5556431c36b32e 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h
|
| @@ -46,7 +46,7 @@ namespace protobuf {
|
| class Printer; // printer.h
|
| }
|
| namespace compiler {
|
| - class OutputDirectory; // code_generator.h
|
| + class GeneratorContext; // code_generator.h
|
| }
|
| }
|
|
|
| @@ -70,12 +70,13 @@ 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* generator_context,
|
| vector<string>* file_list);
|
|
|
| const string& java_package() { return java_package_; }
|
| const string& classname() { return classname_; }
|
|
|
| +
|
| private:
|
| // Returns whether the dependency should be included in the output file.
|
| // Always returns true for opensource, but used internally at Google to help
|
| @@ -86,6 +87,7 @@ class FileGenerator {
|
| string java_package_;
|
| string classname_;
|
|
|
| +
|
| void GenerateEmbeddedDescriptor(io::Printer* printer);
|
|
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator);
|
|
|