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

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

Issue 2856933005: [Sync] Create UserEventSyncBridge. (Closed)
Patch Set: Removing autocomplete_sync_bridge_unittest.cc from cl. Created 3 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 unified diff | Download patch
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";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 13
14 package sync_pb; 14 package sync_pb;
15 15
16 message UserEventSpecifics { 16 message UserEventSpecifics {
17 // Time of event, as measured on the client (unix epoch). 17 // Time of event, as measured on the client (unix epoch).
18 optional int64 event_time_usec = 1; 18 optional int64 event_time_usec = 1;
19 19
20 // The |global_id| field of the associated navigation, if there is one. 20 // The |global_id| field of the associated navigation, if there is one.
21 optional int64 navigation_id = 2; 21 optional int64 navigation_id = 2;
22 22
23 // On startup we generate a new random id to identify which FieldTrialEvents
24 // other events belonged to.
25 optional fixed64 session_id = 3;
26
23 // TODO(skym): Wrap actual event payloads in a oneof. 27 // TODO(skym): Wrap actual event payloads in a oneof.
24 } 28 }
OLDNEW
« no previous file with comments | « components/sync/model/recording_model_type_change_processor.cc ('k') | components/sync/user_events/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698