| Index: third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h b/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h
|
| index d25a50e6683f2a8e3d2785b34743aa9f2301ddbf..0b507d801f42f9b2d91017e106e342e7543684cf 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h
|
| @@ -56,7 +56,7 @@ template<typename T> class RepeatedPtrField; // repeated_field.h
|
| namespace compiler {
|
|
|
| class CodeGenerator; // code_generator.h
|
| -class OutputDirectory; // code_generator.h
|
| +class GeneratorContext; // code_generator.h
|
| class DiskSourceTree; // importer.h
|
|
|
| // This class implements the command-line interface to the protocol compiler.
|
| @@ -174,7 +174,7 @@ class LIBPROTOC_EXPORT CommandLineInterface {
|
| // -----------------------------------------------------------------
|
|
|
| class ErrorPrinter;
|
| - class MemoryOutputDirectory;
|
| + class GeneratorContextImpl;
|
| class MemoryOutputStream;
|
|
|
| // Clear state from previous Run().
|
| @@ -212,11 +212,11 @@ class LIBPROTOC_EXPORT CommandLineInterface {
|
| struct OutputDirective; // see below
|
| bool GenerateOutput(const vector<const FileDescriptor*>& parsed_files,
|
| const OutputDirective& output_directive,
|
| - OutputDirectory* output_directory);
|
| + GeneratorContext* generator_context);
|
| bool GeneratePluginOutput(const vector<const FileDescriptor*>& parsed_files,
|
| const string& plugin_name,
|
| const string& parameter,
|
| - OutputDirectory* output_directory,
|
| + GeneratorContext* generator_context,
|
| string* error);
|
|
|
| // Implements --encode and --decode.
|
|
|