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

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

Issue 2479313004: [sync] "TwoClientBookmarksSyncTest.Sanity" is flaky (Closed)
Patch Set: Created 4 years, 1 month 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[] =
11 "sync-deferred-startup-timeout-seconds"; 11 "sync-deferred-startup-timeout-seconds";
12 12
13 // Enables deferring sync backend initialization until user initiated changes 13 // Enables deferring sync backend initialization until user initiated changes
14 // occur. 14 // occur.
15 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; 15 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup";
16 16
17 // Enables feature to avoid unnecessary GetUpdate requests. 17 // Enables feature to avoid unnecessary GetUpdate requests.
18 const char kSyncEnableGetUpdateAvoidance[] = "sync-enable-get-update-avoidance"; 18 const char kSyncEnableGetUpdateAvoidance[] = "sync-enable-get-update-avoidance";
19 19
20 // Overrides the default server used for profile sync. 20 // Overrides the default server used for profile sync.
21 const char kSyncServiceURL[] = "sync-url"; 21 const char kSyncServiceURL[] = "sync-url";
22 22
23 // This flag causes sync to retry very quickly (see polling_constants.h) the 23 // This flag causes sync to retry very quickly (see polling_constants.h) the
24 // when it encounters an error, as the first step towards exponential backoff. 24 // when it encounters an error, as the first step towards exponential backoff.
25 const char kSyncShortInitialRetryOverride[] = 25 const char kSyncShortInitialRetryOverride[] =
26 "sync-short-initial-retry-override"; 26 "sync-short-initial-retry-override";
27 27
28 // This flag significantly shortens the delay between nudge cycles. Its primary
29 // purpose is to speed up integration tests.The normal delay allows coalescing
Nicolas Zea 2016/11/09 00:35:13 nit: "test.The" -> "test. The"
Patrick Noland 2016/11/10 22:13:00 Done.
30 // and prevention of server load, so don't use this unless you're really sure
Nicolas Zea 2016/11/09 00:35:13 nit: "server load" -> "server overload"
Patrick Noland 2016/11/10 22:13:00 Done.
31 // that it's what you want.
32 const char kSyncShortNudgeDelay[] = "sync-short-nudge-delay";
Nicolas Zea 2016/11/09 00:35:13 I think it might be good to call this short-nudge-
Patrick Noland 2016/11/10 22:13:00 Done.
33
28 // Enables clearing of sync data when a user enables passphrase encryption. 34 // Enables clearing of sync data when a user enables passphrase encryption.
29 const base::Feature kSyncClearDataOnPassphraseEncryption{ 35 const base::Feature kSyncClearDataOnPassphraseEncryption{
30 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; 36 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT};
31 37
32 // Enables USS implementation of DeviceInfo datatype. This flag controls whether 38 // Enables USS implementation of DeviceInfo datatype. This flag controls whether
33 // SyncableService based or ModelTypeSyncBridge based implementation is used for 39 // SyncableService based or ModelTypeService based implementation is used for
34 // DeviceInfo type. 40 // DeviceInfo type.
35 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", 41 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo",
36 base::FEATURE_DISABLED_BY_DEFAULT}; 42 base::FEATURE_DISABLED_BY_DEFAULT};
37 43
38 } // namespace switches 44 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698