diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 19:49:21 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 19:49:21 +0000 |
commit | 7bd56a6537d72442c2a7abb009ddad2161c2cd0b (patch) | |
tree | 701a314954d048daac313d9c3d097d6c9a01e9a5 /sync/internal_api/public/util | |
parent | 86573d113d010a1d5a502e6f0d8100fbebe8625f (diff) | |
download | chromium_src-7bd56a6537d72442c2a7abb009ddad2161c2cd0b.zip chromium_src-7bd56a6537d72442c2a7abb009ddad2161c2cd0b.tar.gz chromium_src-7bd56a6537d72442c2a7abb009ddad2161c2cd0b.tar.bz2 |
[Sync] Cleanup unused experiment logic
Types are all enabled by default already, so the experiments logic was
unnecessary.
BUG=none
TBR=bauerb@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18854004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/util')
-rw-r--r-- | sync/internal_api/public/util/experiments.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sync/internal_api/public/util/experiments.h b/sync/internal_api/public/util/experiments.h index 673588d..6c53e30 100644 --- a/sync/internal_api/public/util/experiments.h +++ b/sync/internal_api/public/util/experiments.h @@ -9,34 +9,22 @@ namespace syncer { -const char kKeystoreEncryptionTag[] = "keystore_encryption"; const char kAutofillCullingTag[] = "autofill_culling"; const char kFaviconSyncTag[] = "favicon_sync"; -const char kFaviconSyncFlag[] = "enable-sync-favicons"; // A structure to hold the enable status of experimental sync features. struct Experiments { - Experiments() : keystore_encryption(false), - autofill_culling(false), - favicon_sync(false), + Experiments() : autofill_culling(false), favicon_sync_limit(200) {} bool Matches(const Experiments& rhs) { - return (keystore_encryption == rhs.keystore_encryption && - autofill_culling == rhs.autofill_culling && - favicon_sync == rhs.favicon_sync && + return (autofill_culling == rhs.autofill_culling && favicon_sync_limit == rhs.favicon_sync_limit); } - // Enable keystore encryption logic and the new encryption UI. - bool keystore_encryption; - // Enable deletion of expired autofill entries (if autofill sync is enabled). bool autofill_culling; - // Enable the favicons sync datatypes (favicon images and favicon tracking). - bool favicon_sync; - // The number of favicons that a client is permitted to sync. int favicon_sync_limit; }; |