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

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

Powered by Google App Engine
This is Rietveld 408576698