| Index: third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h b/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h
|
| index a0d91f5a551e3defdbd7a98d7b340dc025f7f62d..9a9e5742ac3b8590e2e2c00de5123e681a53494e 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h
|
| @@ -1,6 +1,6 @@
|
| // Protocol Buffers - Google's data interchange format
|
| // Copyright 2008 Google Inc. All rights reserved.
|
| -// https://developers.google.com/protocol-buffers/
|
| +// http://code.google.com/p/protobuf/
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -41,12 +41,6 @@
|
|
|
| namespace google {
|
| namespace protobuf {
|
| - namespace compiler {
|
| - namespace java {
|
| - class Context; // context.h
|
| - class ClassNameResolver; // name_resolver.h
|
| - }
|
| - }
|
| namespace io {
|
| class Printer; // printer.h
|
| }
|
| @@ -58,9 +52,7 @@ namespace java {
|
|
|
| class EnumGenerator {
|
| public:
|
| - explicit EnumGenerator(const EnumDescriptor* descriptor,
|
| - bool immutable_api,
|
| - Context* context);
|
| + explicit EnumGenerator(const EnumDescriptor* descriptor);
|
| ~EnumGenerator();
|
|
|
| void Generate(io::Printer* printer);
|
| @@ -81,11 +73,6 @@ class EnumGenerator {
|
| };
|
| vector<Alias> aliases_;
|
|
|
| - bool immutable_api_;
|
| -
|
| - Context* context_;
|
| - ClassNameResolver* name_resolver_;
|
| -
|
| bool CanUseEnumValues();
|
|
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumGenerator);
|
|
|