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

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

Issue 2923733003: [signin] Add DICe flow for account consistency requests. (Closed)
Patch Set: fix style 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
« no previous file with comments | « components/signin/core/common/profile_management_switches.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/feature_list.h"
9 #include "build/build_config.h"
9 10
10 namespace switches { 11 namespace switches {
11 12
12 // These switches should not be queried from CommandLine::HasSwitch() directly. 13 // These switches should not be queried from CommandLine::HasSwitch() directly.
13 // Always go through the helper functions in profile_management_switches.h 14 // Always go through the helper functions in profile_management_switches.h
14 // to properly take into account the state of field trials. 15 // to properly take into account the state of field trials.
15 16
16 // All switches in alphabetical order. The switches should be documented 17 // All switches in alphabetical order. The switches should be documented
17 // alongside the definition of their values in the .cc file. 18 // alongside the definition of their values in the .cc file.
18 extern const char kClearTokenService[]; 19 extern const char kClearTokenService[];
19 extern const char kDisableSigninPromo[]; 20 extern const char kDisableSigninPromo[];
20 extern const char kDisableSigninScopedDeviceId[]; 21 extern const char kDisableSigninScopedDeviceId[];
21 extern const char kEnableRefreshTokenAnnotationRequest[]; 22 extern const char kEnableRefreshTokenAnnotationRequest[];
22 extern const char kEnableSigninPromo[]; 23 extern const char kEnableSigninPromo[];
23 extern const char kExtensionsMultiAccount[]; 24 extern const char kExtensionsMultiAccount[];
24 25
25 #if !defined(OS_ANDROID) && !defined(OS_IOS) 26 #if !defined(OS_ANDROID) && !defined(OS_IOS)
26 // Note: Account consistency (Mirror) is already enabled on mobile platforms, so 27 // Note: Account consistency (Mirror) is already enabled on mobile platforms, so
27 // this switch only exist on desktop platforms. 28 // this switch only exist on desktop platforms.
28 extern const char kAccountConsistency[]; 29 extern const char kAccountConsistency[];
29 extern const char kAccountConsistencyMirror[]; 30 extern const char kAccountConsistencyMirror[];
30 extern const char kAccountConsistencyDice[]; 31 extern const char kAccountConsistencyDice[];
31 #endif 32 #endif
32 33
33 } // namespace switches 34 } // namespace switches
34 35
35 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_ 36 #endif // COMPONENTS_SIGNIN_CORE_COMMON_SIGNIN_SWITCHES_H_
OLDNEW
« no previous file with comments | « components/signin/core/common/profile_management_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698