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