Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / signin / core / common / signin_switches.cc
blob2e1950ca103f2724286332083138aa40f9dc649b
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
3 // found in the LICENSE file.
5 #include "components/signin/core/common/signin_switches.h"
7 namespace switches {
9 // Clears the token service before using it. This allows simulating the
10 // expiration of credentials during testing.
11 const char kClearTokenService[] = "clear-token-service";
13 // Disables consistent identity features.
14 const char kDisableAccountConsistency[] = "disable-account-consistency";
16 // Disables new profile management system, including new profile chooser UI.
17 const char kDisableNewProfileManagement[] = "disable-new-profile-management";
19 // Disables the new avatar menu, forcing the top-corner avatar button.
20 const char kDisableNewAvatarMenu[] = "disable-new-avatar-menu";
22 // Disable sending signin scoped device id to LSO with refresh token request.
23 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
25 // Enables consistent identity features.
26 const char kEnableAccountConsistency[] = "enable-account-consistency";
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";
32 // Enable the new avatar menu and the User Manager.
33 const char kEnableNewAvatarMenu[] = "enable-new-avatar-menu";
35 // Enables new profile management system, including lock mode.
36 const char kEnableNewProfileManagement[] = "new-profile-management";
38 // Enable sending EnableRefreshTokenAnnotationRequest.
39 extern const char kEnableRefreshTokenAnnotationRequest[] =
40 "enable-refresh-token-annotation-request";
42 // Enables multiple account versions of chrome.identity APIs.
43 const char kExtensionsMultiAccount[] = "extensions-multi-account";
45 // Enables using GAIA information to populate profile name and icon.
46 const char kGoogleProfileInfo[] = "google-profile-info";
48 } // namespace switches