Index: third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h |
index 173541f2073b55d8ebe7bb376fca6acec244a8f1..bc68a6829f04373fc5563691384aa42eff0cda34 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h |
@@ -41,18 +41,21 @@ namespace compiler { |
namespace objectivec { |
class MapFieldGenerator : public RepeatedFieldGenerator { |
- friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field); |
+ friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field, |
+ const Options& options); |
public: |
virtual void FinishInitialization(void); |
- virtual void GenerateFieldDescriptionTypeSpecific(io::Printer* printer) const; |
protected: |
- explicit MapFieldGenerator(const FieldDescriptor* descriptor); |
+ MapFieldGenerator(const FieldDescriptor* descriptor, const Options& options); |
virtual ~MapFieldGenerator(); |
+ virtual void DetermineForwardDeclarations(set<string>* fwd_decls) const; |
+ |
private: |
scoped_ptr<FieldGenerator> value_field_generator_; |
+ |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MapFieldGenerator); |
}; |