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

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

Issue 795873004: Enable webview-based sign-in to chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 #include "components/signin/core/common/signin_switches.h" 5 #include "components/signin/core/common/signin_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Clears the token service before using it. This allows simulating the 9 // Clears the token service before using it. This allows simulating the
10 // expiration of credentials during testing. 10 // expiration of credentials during testing.
11 const char kClearTokenService[] = "clear-token-service"; 11 const char kClearTokenService[] = "clear-token-service";
12 12
13 // Disables consistent identity features. 13 // Disables consistent identity features.
14 const char kDisableAccountConsistency[] = "disable-account-consistency"; 14 const char kDisableAccountConsistency[] = "disable-account-consistency";
15 15
16 // Disables new profile management system, including new profile chooser UI. 16 // Disables new profile management system, including new profile chooser UI.
17 const char kDisableNewProfileManagement[] = "disable-new-profile-management"; 17 const char kDisableNewProfileManagement[] = "disable-new-profile-management";
18 18
19 // Disables the new avatar menu, forcing the top-corner avatar button. 19 // Disables the new avatar menu, forcing the top-corner avatar button.
20 const char kDisableNewAvatarMenu[] = "disable-new-avatar-menu"; 20 const char kDisableNewAvatarMenu[] = "disable-new-avatar-menu";
21 21
22 // Disable sending signin scoped device id to LSO with refresh token request. 22 // Disable sending signin scoped device id to LSO with refresh token request.
23 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id"; 23 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
24 24
25 // Enables consistent identity features. 25 // Enables consistent identity features.
26 const char kEnableAccountConsistency[] = "enable-account-consistency"; 26 const char kEnableAccountConsistency[] = "enable-account-consistency";
27 27
28 // Enables the old iframe-based flow for sign in. When not enabled, uses the
29 // webview-based flow.
30 const char kEnableIframeBasedSignin[] = "enable-iframe-based-signin";
31
28 // Enable the new avatar menu and the User Manager. 32 // Enable the new avatar menu and the User Manager.
29 const char kEnableNewAvatarMenu[] = "enable-new-avatar-menu"; 33 const char kEnableNewAvatarMenu[] = "enable-new-avatar-menu";
30 34
31 // Enables new profile management system, including lock mode. 35 // Enables new profile management system, including lock mode.
32 const char kEnableNewProfileManagement[] = "new-profile-management"; 36 const char kEnableNewProfileManagement[] = "new-profile-management";
33 37
34 // Enable sending EnableRefreshTokenAnnotationRequest. 38 // Enable sending EnableRefreshTokenAnnotationRequest.
35 extern const char kEnableRefreshTokenAnnotationRequest[] = 39 extern const char kEnableRefreshTokenAnnotationRequest[] =
36 "enable-refresh-token-annotation-request"; 40 "enable-refresh-token-annotation-request";
37 41
38 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/ 42 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/
39 // settings page. 43 // settings page.
40 const char kEnableWebBasedSignin[] = "enable-web-based-signin"; 44 const char kEnableWebBasedSignin[] = "enable-web-based-signin";
41 45
42 // Enables the webview-based flow for sign in.
43 const char kEnableWebviewBasedSignin[] = "enable-webview-based-signin";
44
45 // Enables multiple account versions of chrome.identity APIs. 46 // Enables multiple account versions of chrome.identity APIs.
46 const char kExtensionsMultiAccount[] = "extensions-multi-account"; 47 const char kExtensionsMultiAccount[] = "extensions-multi-account";
47 48
48 // Allows displaying the list of existing profiles in the avatar bubble for 49 // Allows displaying the list of existing profiles in the avatar bubble for
49 // fast switching between profiles. 50 // fast switching between profiles.
50 const char kFastUserSwitching[] = "fast-user-switching"; 51 const char kFastUserSwitching[] = "fast-user-switching";
51 52
52 // Enables using GAIA information to populate profile name and icon. 53 // Enables using GAIA information to populate profile name and icon.
53 const char kGoogleProfileInfo[] = "google-profile-info"; 54 const char kGoogleProfileInfo[] = "google-profile-info";
54 55
55 } // namespace switches 56 } // namespace switches
OLDNEW
« chrome/app/generated_resources.grd ('K') | « components/signin/core/common/signin_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698