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

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

Issue 2779693003: Adding Finch and flag for Sign-in promo (Closed)
Patch Set: . Created 3 years, 8 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
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 sign-in promo.
20 const char kDisableSigninPromo[] = "disable-signin-promo";
21
19 // Disables sending signin scoped device id to LSO with refresh token request. 22 // Disables sending signin scoped device id to LSO with refresh token request.
20 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id"; 23 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
21 24
22 // Enables consistent identity features. 25 // Enables consistent identity features.
23 const char kEnableAccountConsistency[] = "enable-account-consistency"; 26 const char kEnableAccountConsistency[] = "enable-account-consistency";
24 27
25 // Enables new profile management system, including lock mode. 28 // Enables new profile management system, including lock mode.
26 const char kEnableNewProfileManagement[] = "new-profile-management"; 29 const char kEnableNewProfileManagement[] = "new-profile-management";
27 30
28 // Enables sending EnableRefreshTokenAnnotationRequest. 31 // Enables sending EnableRefreshTokenAnnotationRequest.
29 extern const char kEnableRefreshTokenAnnotationRequest[] = 32 extern const char kEnableRefreshTokenAnnotationRequest[] =
30 "enable-refresh-token-annotation-request"; 33 "enable-refresh-token-annotation-request";
31 34
35 // Enables sign-in promo.
36 const char kEnableSigninPromo[] = "enable-signin-promo";
37
32 // Enables multiple account versions of chrome.identity APIs. 38 // Enables multiple account versions of chrome.identity APIs.
33 const char kExtensionsMultiAccount[] = "extensions-multi-account"; 39 const char kExtensionsMultiAccount[] = "extensions-multi-account";
34 40
35 // Enables using GAIA information to populate profile name and icon. 41 // Enables using GAIA information to populate profile name and icon.
36 const char kGoogleProfileInfo[] = "google-profile-info"; 42 const char kGoogleProfileInfo[] = "google-profile-info";
37 43
38 // Enables or disables the new password separated sign in flow in a tab modal 44 // Enables or disables the new password separated sign in flow in a tab modal
39 // dialog. 45 // dialog.
40 const base::Feature kUsePasswordSeparatedSigninFlow { 46 const base::Feature kUsePasswordSeparatedSigninFlow {
41 "UsePasswordSeparatedSigninFlow", base::FEATURE_ENABLED_BY_DEFAULT 47 "UsePasswordSeparatedSigninFlow", base::FEATURE_ENABLED_BY_DEFAULT
42 }; 48 };
43 49
44 } // namespace switches 50 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698