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

Unified Diff: third_party/protobuf/js/testbinary.proto

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/js/test2.proto ('k') | third_party/protobuf/m4/ax_cxx_compile_stdcxx.m4 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/js/testbinary.proto
diff --git a/third_party/protobuf/js/testbinary.proto b/third_party/protobuf/js/testbinary.proto
index 60c70190f63e30107019b3267b57da32cc10048f..116f17fb508629f69e00ea11ce4434fe4620ace6 100644
--- a/third_party/protobuf/js/testbinary.proto
+++ b/third_party/protobuf/js/testbinary.proto
@@ -183,3 +183,30 @@ extend TestExtendable {
[packed=true];
}
+
+message TestMapFields {
+ map<string, string> map_string_string = 1;
+ map<string, int32> map_string_int32 = 2;
+ map<string, int64> map_string_int64 = 3;
+ map<string, bool> map_string_bool = 4;
+ map<string, double> map_string_double = 5;
+ map<string, MapValueEnum> map_string_enum = 6;
+ map<string, MapValueMessage> map_string_msg = 7;
+
+ map<int32, string> map_int32_string = 8;
+ map<int64, string> map_int64_string = 9;
+ map<bool, string> map_bool_string = 10;
+
+ optional TestMapFields test_map_fields = 11;
+ map<string, TestMapFields> map_string_testmapfields = 12;
+}
+
+enum MapValueEnum {
+ MAP_VALUE_FOO = 0;
+ MAP_VALUE_BAR = 1;
+ MAP_VALUE_BAZ = 2;
+}
+
+message MapValueMessage {
+ optional int32 foo = 1;
+}
« no previous file with comments | « third_party/protobuf/js/test2.proto ('k') | third_party/protobuf/m4/ax_cxx_compile_stdcxx.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698