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

Side by Side Diff: components/sync/protocol/user_event_specifics.proto

Issue 2940863003: [Sync] Adjust UserEvent proto numbers, add Test message. (Closed)
Patch Set: Updated proto_visitor.h Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/sync/protocol/proto_visitors.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol datatype extension for user events. 5 // Sync protocol datatype extension for user events.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Time of event, as measured on the client (unix epoch). 72 // Time of event, as measured on the client (unix epoch).
73 optional int64 event_time_usec = 1; 73 optional int64 event_time_usec = 1;
74 74
75 // The |global_id| field of the associated navigation, if there is one. 75 // The |global_id| field of the associated navigation, if there is one.
76 optional int64 navigation_id = 2; 76 optional int64 navigation_id = 2;
77 77
78 // On startup we generate a new random id to identify which FieldTrialEvents 78 // On startup we generate a new random id to identify which FieldTrialEvents
79 // other events belonged to. 79 // other events belonged to.
80 optional fixed64 session_id = 3; 80 optional fixed64 session_id = 3;
81 81
82 // 4-7 reserved for future scalars.
83
84 // Used for testing and debugging EventLog system.
85 message Test {}
86
82 oneof event { 87 oneof event {
83 FieldTrialEvent field_trial_event = 4; 88 Test test = 8;
84 LanguageDetection language_detection = 5; 89 FieldTrialEvent field_trial_event = 9;
85 Translation translation = 6; 90 LanguageDetection language_detection = 10;
91 Translation translation = 11;
86 } 92 }
87 } 93 }
OLDNEW
« no previous file with comments | « components/sync/protocol/proto_visitors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698