| // Copyright 2014 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. |
| |
| #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_SWITCHES_H_ |
| #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_SWITCHES_H_ |
| |
| #include "components/signin/core/browser/signin_buildflags.h" |
| |
| namespace switches { |
| |
| // These switches should not be queried from CommandLine::HasSwitch() directly. |
| // Always go through the helper functions in account_consistency_method.h |
| // to properly take into account the state of field trials. |
| |
| // All switches in alphabetical order. The switches should be documented |
| // alongside the definition of their values in the .cc file. |
| extern const char kClearTokenService[]; |
| extern const char kDisableSigninScopedDeviceId[]; |
| |
| #if !BUILDFLAG(ENABLE_MIRROR) |
| // Note: Account consistency (Mirror) is already enabled on mobile platforms, so |
| // this switch only exist on desktop platforms. |
| extern const char kAccountConsistency[]; |
| extern const char kAccountConsistencyMirror[]; |
| extern const char kAccountConsistencyDice[]; |
| #endif |
| |
| } // namespace switches |
| |
| #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_SWITCHES_H_ |