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

Side by Side Diff: components/signin/core/common/signin_switches.h

Issue 2946693002: Use GN buildflags and features to configure account consistency (Closed)
Patch Set: fix Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_
6 #define COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ 6 #define COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_
7 7
8 #include "base/feature_list.h" 8 #include "components/signin/core/common/signin_features.h"
9 #include "build/build_config.h"
10 9
11 namespace switches { 10 namespace switches {
12 11
13 // These switches should not be queried from CommandLine::HasSwitch() directly. 12 // These switches should not be queried from CommandLine::HasSwitch() directly.
14 // Always go through the helper functions in profile_management_switches.h 13 // Always go through the helper functions in profile_management_switches.h
15 // to properly take into account the state of field trials. 14 // to properly take into account the state of field trials.
16 15
17 // All switches in alphabetical order. The switches should be documented 16 // All switches in alphabetical order. The switches should be documented
18 // alongside the definition of their values in the .cc file. 17 // alongside the definition of their values in the .cc file.
19 extern const char kClearTokenService[]; 18 extern const char kClearTokenService[];
20 extern const char kDisableSigninPromo[]; 19 extern const char kDisableSigninPromo[];
21 extern const char kDisableSigninScopedDeviceId[]; 20 extern const char kDisableSigninScopedDeviceId[];
22 extern const char kEnableRefreshTokenAnnotationRequest[]; 21 extern const char kEnableRefreshTokenAnnotationRequest[];
23 extern const char kEnableSigninPromo[]; 22 extern const char kEnableSigninPromo[];
24 extern const char kExtensionsMultiAccount[]; 23 extern const char kExtensionsMultiAccount[];
25 24
26 #if !defined(OS_ANDROID) && !defined(OS_IOS) 25 #if !BUILDFLAG(ENABLE_MIRROR)
27 // Note: Account consistency (Mirror) is already enabled on mobile platforms, so 26 // Note: Account consistency (Mirror) is already enabled on mobile platforms, so
28 // this switch only exist on desktop platforms. 27 // this switch only exist on desktop platforms.
29 extern const char kAccountConsistency[]; 28 extern const char kAccountConsistency[];
30 extern const char kAccountConsistencyMirror[]; 29 extern const char kAccountConsistencyMirror[];
31 extern const char kAccountConsistencyDice[]; 30 extern const char kAccountConsistencyDice[];
32 #endif 31 #endif
33 32
34 } // namespace switches 33 } // namespace switches
35 34
36 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ 35 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_
OLDNEW
« no previous file with comments | « components/signin/core/common/profile_management_switches.cc ('k') | components/signin/core/common/signin_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698