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

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

Issue 14117004: [Sync] Add support for server-controlled favicon sync limit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add proto conversions Created 7 years, 8 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/internal_api/sync_manager_impl.cc ('k') | sync/protocol/proto_value_conversions.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 datatype extension for experimental feature flags. 5 // Sync protocol datatype extension for experimental feature flags.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 option retain_unknown_fields = true; 10 option retain_unknown_fields = true;
11 11
12 package sync_pb; 12 package sync_pb;
13 13
14 // A flag to enable support for keystore encryption. 14 // A flag to enable support for keystore encryption.
15 message KeystoreEncryptionFlags { 15 message KeystoreEncryptionFlags {
16 optional bool enabled = 1; 16 optional bool enabled = 1;
17 } 17 }
18 18
19 // Whether history delete directives are enabled. 19 // Whether history delete directives are enabled.
20 message HistoryDeleteDirectives { 20 message HistoryDeleteDirectives {
21 optional bool enabled = 1; 21 optional bool enabled = 1;
22 } 22 }
23 23
24 // Whether this client should cull (delete) expired autofill 24 // Whether this client should cull (delete) expired autofill
25 // entries when autofill sync is enabled. 25 // entries when autofill sync is enabled.
26 message AutofillCullingFlags { 26 message AutofillCullingFlags {
27 optional bool enabled = 1; 27 optional bool enabled = 1;
28 } 28 }
29 29
30 // Whether the favicon sync datatypes are enabled. 30 // Whether the favicon sync datatypes are enabled, and what parameters
31 // they should operate under.
31 message FaviconSyncFlags { 32 message FaviconSyncFlags {
32 optional bool enabled = 1; 33 optional bool enabled = 1;
34 optional int32 favicon_sync_limit = 2 [default = 200];
33 } 35 }
34 36
35 // Contains one flag or set of related flags. Each node of the experiments type 37 // Contains one flag or set of related flags. Each node of the experiments type
36 // will have a unique_client_tag identifying which flags it contains. By 38 // will have a unique_client_tag identifying which flags it contains. By
37 // convention, the tag name should match the sub-message name. 39 // convention, the tag name should match the sub-message name.
38 message ExperimentsSpecifics { 40 message ExperimentsSpecifics {
39 optional KeystoreEncryptionFlags keystore_encryption = 1; 41 optional KeystoreEncryptionFlags keystore_encryption = 1;
40 optional HistoryDeleteDirectives history_delete_directives = 2; 42 optional HistoryDeleteDirectives history_delete_directives = 2;
41 optional AutofillCullingFlags autofill_culling = 3; 43 optional AutofillCullingFlags autofill_culling = 3;
42 optional FaviconSyncFlags favicon_sync = 4; 44 optional FaviconSyncFlags favicon_sync = 4;
43 } 45 }
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl.cc ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698