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

Unified Diff: components/tracing/test/example_proto/test_messages.proto

Issue 2217703002: Tracing V2: Field number constants for protobuf plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove template Created 4 years, 4 months 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 | « no previous file | components/tracing/test/proto_zero_generation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/test/example_proto/test_messages.proto
diff --git a/components/tracing/test/example_proto/test_messages.proto b/components/tracing/test/example_proto/test_messages.proto
index 588ec84f9d22ed403ce43c25f79bcd6bce54cee6..f6d5361c4f078798ebd4b2caf6832c4726ee960c 100644
--- a/components/tracing/test/example_proto/test_messages.proto
+++ b/components/tracing/test/example_proto/test_messages.proto
@@ -73,3 +73,16 @@ message NestedA {
repeated NestedB repeated_a = 2;
optional NestedB.NestedC super_nested = 3;
}
+
+message CamelCaseFields {
+ // To check that any reasonable name converts to camel case correctly.
+ optional bool foo_bar_baz = 1;
+ optional bool barBaz = 2;
+ optional bool MooMoo = 3;
+ optional bool URLEncoder = 4;
+ optional bool XMap = 5;
+ optional bool UrLE_nco__der = 6;
+ optional bool __bigBang = 7;
+ optional bool U2 = 8;
+ optional bool bangBig__ = 9;
+}
« no previous file with comments | « no previous file | components/tracing/test/proto_zero_generation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698