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

Side by Side Diff: components/sync/driver/sync_driver_switches.cc

Issue 2341923004: [USS] Covert kSyncEnableUSSDeviceInfo commandline flag to Feature API (Closed)
Patch Set: Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "components/sync/driver/sync_driver_switches.h" 5 #include "components/sync/driver/sync_driver_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allows overriding the deferred init fallback timeout. 9 // Allows overriding the deferred init fallback timeout.
10 const char kSyncDeferredStartupTimeoutSeconds[] = 10 const char kSyncDeferredStartupTimeoutSeconds[] =
(...skipping 16 matching lines...) Expand all
27 27
28 // This flag causes sync to retry very quickly (see polling_constants.h) the 28 // This flag causes sync to retry very quickly (see polling_constants.h) the
29 // when it encounters an error, as the first step towards exponential backoff. 29 // when it encounters an error, as the first step towards exponential backoff.
30 const char kSyncShortInitialRetryOverride[] = 30 const char kSyncShortInitialRetryOverride[] =
31 "sync-short-initial-retry-override"; 31 "sync-short-initial-retry-override";
32 32
33 // Enables clearing of sync data when a user enables passphrase encryption. 33 // Enables clearing of sync data when a user enables passphrase encryption.
34 const base::Feature kSyncClearDataOnPassphraseEncryption{ 34 const base::Feature kSyncClearDataOnPassphraseEncryption{
35 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; 35 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT};
36 36
37 // Enables USS on Device Info.
38 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo",
39 base::FEATURE_DISABLED_BY_DEFAULT};
40
37 } // namespace switches 41 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698