| Index: third_party/protobuf/src/google/protobuf/compiler/code_generator.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc b/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc
|
| index 3413a36a3ccf0e772d8bb3b07650aeb8e1184a1f..455c239a936bd9cec724ab65e85092b743fa1070 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc
|
| @@ -42,14 +42,19 @@ namespace protobuf {
|
| namespace compiler {
|
|
|
| CodeGenerator::~CodeGenerator() {}
|
| -OutputDirectory::~OutputDirectory() {}
|
| +GeneratorContext::~GeneratorContext() {}
|
|
|
| -io::ZeroCopyOutputStream* OutputDirectory::OpenForInsert(
|
| +io::ZeroCopyOutputStream* GeneratorContext::OpenForInsert(
|
| const string& filename, const string& insertion_point) {
|
| - GOOGLE_LOG(FATAL) << "This OutputDirectory does not support insertion.";
|
| + GOOGLE_LOG(FATAL) << "This GeneratorContext does not support insertion.";
|
| return NULL; // make compiler happy
|
| }
|
|
|
| +void GeneratorContext::ListParsedFiles(
|
| + vector<const FileDescriptor*>* output) {
|
| + GOOGLE_LOG(FATAL) << "This GeneratorContext does not support ListParsedFiles";
|
| +}
|
| +
|
| // Parses a set of comma-delimited name/value pairs.
|
| void ParseGeneratorParameter(const string& text,
|
| vector<pair<string, string> >* output) {
|
|
|