Chromium Code Reviews| 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. | 10 // These switches should not be queried from CommandLine::HasSwitch() directly. |
| 11 // Always go through the helper functions in profile_management_switches.h | 11 // Always go through the helper functions in profile_management_switches.h |
| 12 // to properly take into account the state of field trials. | 12 // to properly take into account the state of field trials. |
| 13 | 13 |
| 14 // All switches in alphabetical order. The switches should be documented | 14 // All switches in alphabetical order. The switches should be documented |
| 15 // alongside the definition of their values in the .cc file. | 15 // alongside the definition of their values in the .cc file. |
| 16 extern const char kClearTokenService[]; | 16 extern const char kClearTokenService[]; |
| 17 extern const char kEnableAccountConsistency[]; | |
| 18 extern const char kEnableWebBasedSignin[]; | 17 extern const char kEnableWebBasedSignin[]; |
| 19 extern const char kExtensionsMultiAccount[]; | 18 extern const char kExtensionsMultiAccount[]; |
| 20 extern const char kFastUserSwitching[]; | 19 extern const char kFastUserSwitching[]; |
| 21 extern const char kGoogleProfileInfo[]; | 20 extern const char kGoogleProfileInfo[]; |
| 22 extern const char kNewAvatarMenu[]; | 21 extern const char kNewAvatarMenu[]; |
| 23 extern const char kNewProfileManagement[]; | 22 |
| 23 #if defined(OS_ANDROID) | |
| 24 | |
| 25 // These flags are used on platforms where new profile management and | |
| 26 // account consistency are on by default. User can choose to turn them off. | |
|
noms (inactive)
2014/06/11 14:14:12
nit: s/user/users (here and below)
Roger Tawa OOO till Jul 10th
2014/06/13 02:17:19
Done.
| |
| 27 extern const char kDisableAccountConsistency[]; | |
| 28 extern const char kDisableNewProfileManagement[]; | |
| 29 | |
| 30 #else | |
| 31 | |
| 32 // These flags are used on platforms where new profile management and | |
| 33 // account consistency are off by default. User can choose to turn them on. | |
| 34 extern const char kEnableAccountConsistency[]; | |
| 35 extern const char kEnableNewProfileManagement[]; | |
| 36 | |
| 37 #endif | |
| 24 | 38 |
| 25 } // namespace switches | 39 } // namespace switches |
| 26 | 40 |
| 27 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ | 41 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ |
| OLD | NEW |