Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void GenerateSerializationCode(io::Printer* printer) const; 76 void GenerateSerializationCode(io::Printer* printer) const;
77 void GenerateSerializedSizeCode(io::Printer* printer) const; 77 void GenerateSerializedSizeCode(io::Printer* printer) const;
78 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const; 78 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const;
79 void GenerateEqualsCode(io::Printer* printer) const; 79 void GenerateEqualsCode(io::Printer* printer) const;
80 void GenerateHashCode(io::Printer* printer) const; 80 void GenerateHashCode(io::Printer* printer) const;
81 81
82 string GetBoxedType() const; 82 string GetBoxedType() const;
83 83
84 protected: 84 protected:
85 const FieldDescriptor* descriptor_; 85 const FieldDescriptor* descriptor_;
86 map<string, string> variables_; 86 std::map<string, string> variables_;
87 const int messageBitIndex_; 87 const int messageBitIndex_;
88 const int builderBitIndex_; 88 const int builderBitIndex_;
89 Context* context_; 89 Context* context_;
90 ClassNameResolver* name_resolver_; 90 ClassNameResolver* name_resolver_;
91 91
92 private: 92 private:
93 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableStringFieldGenerator); 93 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableStringFieldGenerator);
94 }; 94 };
95 95
96 class ImmutableStringOneofFieldGenerator 96 class ImmutableStringOneofFieldGenerator
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void GenerateSerializationCode(io::Printer* printer) const; 135 void GenerateSerializationCode(io::Printer* printer) const;
136 void GenerateSerializedSizeCode(io::Printer* printer) const; 136 void GenerateSerializedSizeCode(io::Printer* printer) const;
137 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const; 137 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const;
138 void GenerateEqualsCode(io::Printer* printer) const; 138 void GenerateEqualsCode(io::Printer* printer) const;
139 void GenerateHashCode(io::Printer* printer) const; 139 void GenerateHashCode(io::Printer* printer) const;
140 140
141 string GetBoxedType() const; 141 string GetBoxedType() const;
142 142
143 private: 143 private:
144 const FieldDescriptor* descriptor_; 144 const FieldDescriptor* descriptor_;
145 map<string, string> variables_; 145 std::map<string, string> variables_;
146 const int messageBitIndex_; 146 const int messageBitIndex_;
147 const int builderBitIndex_; 147 const int builderBitIndex_;
148 Context* context_; 148 Context* context_;
149 ClassNameResolver* name_resolver_; 149 ClassNameResolver* name_resolver_;
150 150
151 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedImmutableStringFieldGenerator); 151 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedImmutableStringFieldGenerator);
152 }; 152 };
153 153
154 } // namespace java 154 } // namespace java
155 } // namespace compiler 155 } // namespace compiler
156 } // namespace protobuf 156 } // namespace protobuf
157 157
158 } // namespace google 158 } // namespace google
159 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_STRING_FIELD_H__ 159 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_STRING_FIELD_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698