Index: components/sync/protocol/user_event_specifics.proto |
diff --git a/components/sync/protocol/user_event_specifics.proto b/components/sync/protocol/user_event_specifics.proto |
index 8d3efd1b3126faa2dbe3bedd446c7c48bd381693..fa74e61191c68b9baa92b54ece3a38c978069253 100644 |
--- a/components/sync/protocol/user_event_specifics.proto |
+++ b/components/sync/protocol/user_event_specifics.proto |
@@ -13,6 +13,14 @@ option optimize_for = LITE_RUNTIME; |
package sync_pb; |
+message FieldTrialEvent { |
+ message FieldTrial { |
+ optional fixed32 name_id = 1; |
+ optional fixed32 group_id = 2; |
+ } |
+ repeated FieldTrial field_trials = 1; |
+} |
+ |
message UserEventSpecifics { |
// Time of event, as measured on the client (unix epoch). |
optional int64 event_time_usec = 1; |
@@ -24,5 +32,5 @@ message UserEventSpecifics { |
// other events belonged to. |
optional fixed64 session_id = 3; |
- // TODO(skym): Wrap actual event payloads in a oneof. |
+ oneof event { FieldTrialEvent field_trial_event = 4; } |
} |