OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |