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

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

Issue 12089103: [Sync] Add favicon datatype proto support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 7 years, 10 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/sync_proto.gypi » ('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";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true; 13 option retain_unknown_fields = true;
14 14
15 package sync_pb; 15 package sync_pb;
16 16
17 import "app_notification_specifics.proto"; 17 import "app_notification_specifics.proto";
18 import "app_setting_specifics.proto"; 18 import "app_setting_specifics.proto";
19 import "app_specifics.proto"; 19 import "app_specifics.proto";
20 import "autofill_specifics.proto"; 20 import "autofill_specifics.proto";
21 import "bookmark_specifics.proto"; 21 import "bookmark_specifics.proto";
22 import "client_commands.proto"; 22 import "client_commands.proto";
23 import "client_debug_info.proto"; 23 import "client_debug_info.proto";
24 import "device_info_specifics.proto"; 24 import "device_info_specifics.proto";
25 import "dictionary_specifics.proto"; 25 import "dictionary_specifics.proto";
26 import "encryption.proto"; 26 import "encryption.proto";
27 import "experiments_specifics.proto"; 27 import "experiments_specifics.proto";
28 import "extension_setting_specifics.proto"; 28 import "extension_setting_specifics.proto";
29 import "extension_specifics.proto"; 29 import "extension_specifics.proto";
30 import "favicon_image_specifics.proto";
31 import "favicon_tracking_specifics.proto";
30 import "get_updates_caller_info.proto"; 32 import "get_updates_caller_info.proto";
31 import "history_delete_directive_specifics.proto"; 33 import "history_delete_directive_specifics.proto";
32 import "nigori_specifics.proto"; 34 import "nigori_specifics.proto";
33 import "password_specifics.proto"; 35 import "password_specifics.proto";
34 import "preference_specifics.proto"; 36 import "preference_specifics.proto";
35 import "priority_preference_specifics.proto"; 37 import "priority_preference_specifics.proto";
36 import "search_engine_specifics.proto"; 38 import "search_engine_specifics.proto";
37 import "session_specifics.proto"; 39 import "session_specifics.proto";
38 import "sync_enums.proto"; 40 import "sync_enums.proto";
39 import "synced_notification_specifics.proto"; 41 import "synced_notification_specifics.proto";
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 optional AutofillProfileSpecifics autofill_profile = 63951; 105 optional AutofillProfileSpecifics autofill_profile = 63951;
104 optional SearchEngineSpecifics search_engine = 88610; 106 optional SearchEngineSpecifics search_engine = 88610;
105 optional ExtensionSettingSpecifics extension_setting = 96159; 107 optional ExtensionSettingSpecifics extension_setting = 96159;
106 optional AppSettingSpecifics app_setting = 103656; 108 optional AppSettingSpecifics app_setting = 103656;
107 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251; 109 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251;
108 optional SyncedNotificationSpecifics synced_notification = 153108; 110 optional SyncedNotificationSpecifics synced_notification = 153108;
109 optional DeviceInfoSpecifics device_info = 154522; 111 optional DeviceInfoSpecifics device_info = 154522;
110 optional ExperimentsSpecifics experiments = 161496; 112 optional ExperimentsSpecifics experiments = 161496;
111 optional PriorityPreferenceSpecifics priority_preference = 163425; 113 optional PriorityPreferenceSpecifics priority_preference = 163425;
112 optional DictionarySpecifics dictionary = 170540; 114 optional DictionarySpecifics dictionary = 170540;
115 optional FaviconTrackingSpecifics favicon_tracking = 181534;
116 optional FaviconImageSpecifics favicon_image = 182019;
113 } 117 }
114 118
115 message SyncEntity { 119 message SyncEntity {
116 // This item's identifier. In a commit of a new item, this will be a 120 // This item's identifier. In a commit of a new item, this will be a
117 // client-generated ID. If the commit succeeds, the server will generate 121 // client-generated ID. If the commit succeeds, the server will generate
118 // a globally unique ID and return it to the committing client in the 122 // a globally unique ID and return it to the committing client in the
119 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, 123 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse,
120 // |id_string| is always the server generated ID. The original 124 // |id_string| is always the server generated ID. The original
121 // client-generated ID is preserved in the |originator_client_id| field. 125 // client-generated ID is preserved in the |originator_client_id| field.
122 // Present in both GetUpdatesResponse and CommitMessage. 126 // Present in both GetUpdatesResponse and CommitMessage.
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 // is absent then the whole client (all datatypes) is throttled. 760 // is absent then the whole client (all datatypes) is throttled.
757 repeated int32 error_data_type_ids = 5; 761 repeated int32 error_data_type_ids = 5;
758 } 762 }
759 optional Error error = 13; 763 optional Error error = 13;
760 764
761 // The new per-client state for this client. If set, should be persisted and 765 // The new per-client state for this client. If set, should be persisted and
762 // sent with any subsequent ClientToServerMessages. 766 // sent with any subsequent ClientToServerMessages.
763 optional ChipBag new_bag_of_chips = 14; 767 optional ChipBag new_bag_of_chips = 14;
764 }; 768 };
765 769
OLDNEW
« no previous file with comments | « sync/protocol/proto_value_conversions_unittest.cc ('k') | sync/sync_proto.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698