blob: eff9abd9df76b0e4d395f8bf4988556a8a23be40 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/feature_list.h"
namespace switches {
// Returns whether sync is allowed to run based on command-line switches.
// Profile::IsSyncAllowed() is probably a better signal than this function.
// This function can be called from any thread, and the implementation doesn't
// assume it's running on the UI thread.
bool IsSyncAllowedByFlag();
// Defines all the command-line switches used by sync driver. All switches in
// alphabetical order. The switches should be documented alongside the
// definition of their values in the .cc file.
extern const char kDisableSync[];
extern const char kSyncDeferredStartupTimeoutSeconds[];
extern const char kSyncDisableDeferredStartup[];
extern const char kSyncIncludeSpecificsInProtocolLog[];
extern const char kSyncServiceURL[];
extern const char kSyncShortInitialRetryOverride[];
extern const char kSyncShortNudgeDelayForTest[];
extern const base::Feature kStopSyncInPausedState;
extern const base::Feature
extern const base::Feature kSyncSendTabToSelf;
extern const base::Feature kSyncSupportSecondaryAccount;
extern const base::Feature kSyncUSSBookmarks;
extern const base::Feature kSyncUSSPasswords;
extern const base::Feature kSyncUSSAutofillWalletMetadata;
extern const base::Feature kSyncUSSNigori;
extern const base::Feature kSyncWifiConfigurations;
} // namespace switches