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

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

Issue 11961030: [Sync] Make SESSIONS an implicit type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « sync/protocol/proto_value_conversions_unittest.cc ('k') | sync/syncable/model_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 for communication between sync client and server. 5 // Sync protocol for communication between sync client and server.
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 optional SessionSpecifics session = 50119; 101 optional SessionSpecifics session = 50119;
102 optional AutofillProfileSpecifics autofill_profile = 63951; 102 optional AutofillProfileSpecifics autofill_profile = 63951;
103 optional SearchEngineSpecifics search_engine = 88610; 103 optional SearchEngineSpecifics search_engine = 88610;
104 optional ExtensionSettingSpecifics extension_setting = 96159; 104 optional ExtensionSettingSpecifics extension_setting = 96159;
105 optional AppSettingSpecifics app_setting = 103656; 105 optional AppSettingSpecifics app_setting = 103656;
106 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251; 106 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251;
107 optional SyncedNotificationSpecifics synced_notification = 153108; 107 optional SyncedNotificationSpecifics synced_notification = 153108;
108 optional DeviceInfoSpecifics device_info = 154522; 108 optional DeviceInfoSpecifics device_info = 154522;
109 optional ExperimentsSpecifics experiments = 161496; 109 optional ExperimentsSpecifics experiments = 161496;
110 optional PriorityPreferenceSpecifics priority_preference = 163425; 110 optional PriorityPreferenceSpecifics priority_preference = 163425;
111 optional string tab = 174470; // Placeholder for tabs, a virtual datatype.
Raz Mathias 2013/01/19 01:29:17 i didn't realize that local/virtual types would ha
111 } 112 }
112 113
113 message SyncEntity { 114 message SyncEntity {
114 // This item's identifier. In a commit of a new item, this will be a 115 // This item's identifier. In a commit of a new item, this will be a
115 // client-generated ID. If the commit succeeds, the server will generate 116 // client-generated ID. If the commit succeeds, the server will generate
116 // a globally unique ID and return it to the committing client in the 117 // a globally unique ID and return it to the committing client in the
117 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, 118 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse,
118 // |id_string| is always the server generated ID. The original 119 // |id_string| is always the server generated ID. The original
119 // client-generated ID is preserved in the |originator_client_id| field. 120 // client-generated ID is preserved in the |originator_client_id| field.
120 // Present in both GetUpdatesResponse and CommitMessage. 121 // Present in both GetUpdatesResponse and CommitMessage.
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // is absent then the whole client (all datatypes) is throttled. 753 // is absent then the whole client (all datatypes) is throttled.
753 repeated int32 error_data_type_ids = 5; 754 repeated int32 error_data_type_ids = 5;
754 } 755 }
755 optional Error error = 13; 756 optional Error error = 13;
756 757
757 // The new per-client state for this client. If set, should be persisted and 758 // The new per-client state for this client. If set, should be persisted and
758 // sent with any subsequent ClientToServerMessages. 759 // sent with any subsequent ClientToServerMessages.
759 optional ChipBag new_bag_of_chips = 14; 760 optional ChipBag new_bag_of_chips = 14;
760 }; 761 };
761 762
OLDNEW
« no previous file with comments | « sync/protocol/proto_value_conversions_unittest.cc ('k') | sync/syncable/model_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698