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

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/java/java_map_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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void GenerateSerializationCode(io::Printer* printer) const; 60 void GenerateSerializationCode(io::Printer* printer) const;
61 void GenerateSerializedSizeCode(io::Printer* printer) const; 61 void GenerateSerializedSizeCode(io::Printer* printer) const;
62 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const; 62 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const;
63 void GenerateEqualsCode(io::Printer* printer) const; 63 void GenerateEqualsCode(io::Printer* printer) const;
64 void GenerateHashCode(io::Printer* printer) const; 64 void GenerateHashCode(io::Printer* printer) const;
65 65
66 string GetBoxedType() const; 66 string GetBoxedType() const;
67 67
68 private: 68 private:
69 const FieldDescriptor* descriptor_; 69 const FieldDescriptor* descriptor_;
70 map<string, string> variables_; 70 std::map<string, string> variables_;
71 ClassNameResolver* name_resolver_; 71 ClassNameResolver* name_resolver_;
72 void GenerateMapGetters(io::Printer* printer) const;
72 }; 73 };
73 74
74 } // namespace java 75 } // namespace java
75 } // namespace compiler 76 } // namespace compiler
76 } // namespace protobuf 77 } // namespace protobuf
77 78
78 } // namespace google 79 } // namespace google
79 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MAP_FIELD_H__ 80 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MAP_FIELD_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698