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

Unified Diff: base/trace_event/common/proto/event_args_simple.proto

Issue 1947373002: Tracing V2 prototype [NOT FOR REVIEW] Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WORKS Created 4 years, 7 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 | « base/trace_event/common/proto/event.proto ('k') | base/trace_event/common/proto/event_args_test.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/common/proto/event_args_simple.proto
diff --git a/base/trace_event/common/proto/event_args_simple.proto b/base/trace_event/common/proto/event_args_simple.proto
new file mode 100644
index 0000000000000000000000000000000000000000..852c257337296e99283fda0a7d4a051650c2c8e7
--- /dev/null
+++ b/base/trace_event/common/proto/event_args_simple.proto
@@ -0,0 +1,28 @@
+syntax = "proto2";
+option optimize_for = LITE_RUNTIME;
+
+package tracing;
+
+message EventArgsSimple {
+ oneof arg_1_name {
+ int64 arg_1_name_idx = 1; // This is for const char* strings.
+ string arg_1_name_string = 2; // This is for *WithCopiedName()
+ }
+
+ oneof arg_1_value {
+ bool arg_1_bool_value = 3;
+ int64 arg_1_int_value = 4;
+ double arg_1_real_value = 5;
+ }
+
+ oneof arg_2_name {
+ int64 arg_2_name_idx = 11; // This is for const char* strings.
+ string arg_2_name_string = 12; // This is for *WithCopiedName()
+ }
+
+ oneof arg_2_value {
+ bool arg_2_bool_value = 13;
+ int64 arg_2_int_value = 14;
+ double arg_2_real_value = 15;
+ }
+}
« no previous file with comments | « base/trace_event/common/proto/event.proto ('k') | base/trace_event/common/proto/event_args_test.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698