QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / components / sync_driver / sync_driver_switches.cc
blob62af1baf3969aa313263c7175f8caf059539f65b
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
3 // found in the LICENSE file.
5 #include "components/sync_driver/sync_driver_switches.h"
7 namespace switches {
9 // Allows overriding the deferred init fallback timeout.
10 const char kSyncDeferredStartupTimeoutSeconds[] =
11 "sync-deferred-startup-timeout-seconds";
13 // Disable data backup when user's not signed in.
14 const char kSyncDisableBackup[] = "disable-sync-backup";
16 // Enables deferring sync backend initialization until user initiated changes
17 // occur.
18 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup";
20 // Disable sync rollback.
21 const char kSyncDisableRollback[] = "disable-sync-rollback";
23 // Enables clearing of sync data when a user enables passphrase encryption.
24 const char kSyncEnableClearDataOnPassphraseEncryption[] =
25 "enable-clear-sync-data-on-passphrase-encryption";
27 // Enables feature to avoid unnecessary GetUpdate requests.
28 const char kSyncEnableGetUpdateAvoidance[] =
29 "sync-enable-get-update-avoidance";
31 // Overrides the default server used for profile sync.
32 const char kSyncServiceURL[] = "sync-url";
34 // This flag causes sync to retry very quickly (see polling_constants.h) the
35 // when it encounters an error, as the first step towards exponential backoff.
36 const char kSyncShortInitialRetryOverride[] =
37 "sync-short-initial-retry-override";
39 } // namespace switches