OLD | NEW |
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 "base/feature_list.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
11 | 11 |
12 // These switches should not be queried from CommandLine::HasSwitch() directly. | 12 // These switches should not be queried from CommandLine::HasSwitch() directly. |
13 // Always go through the helper functions in profile_management_switches.h | 13 // Always go through the helper functions in profile_management_switches.h |
14 // to properly take into account the state of field trials. | 14 // to properly take into account the state of field trials. |
15 | 15 |
16 // All switches in alphabetical order. The switches should be documented | 16 // All switches in alphabetical order. The switches should be documented |
17 // alongside the definition of their values in the .cc file. | 17 // alongside the definition of their values in the .cc file. |
18 extern const char kClearTokenService[]; | 18 extern const char kClearTokenService[]; |
| 19 extern const char kDisableSigninPromo[]; |
19 extern const char kDisableSigninScopedDeviceId[]; | 20 extern const char kDisableSigninScopedDeviceId[]; |
20 extern const char kEnableAccountConsistency[]; | 21 extern const char kEnableAccountConsistency[]; |
21 extern const char kEnableRefreshTokenAnnotationRequest[]; | 22 extern const char kEnableRefreshTokenAnnotationRequest[]; |
| 23 extern const char kEnableSigninPromo[]; |
22 extern const char kExtensionsMultiAccount[]; | 24 extern const char kExtensionsMultiAccount[]; |
23 | 25 |
24 extern const base::Feature kUsePasswordSeparatedSigninFlow; | 26 extern const base::Feature kUsePasswordSeparatedSigninFlow; |
25 | 27 |
26 } // namespace switches | 28 } // namespace switches |
27 | 29 |
28 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ | 30 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ |
OLD | NEW |