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

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

Issue 2779693003: Adding Finch and flag for Sign-in promo (Closed)
Patch Set: Fixing a fix made at the wrong place 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
« no previous file with comments | « components/signin/core/common/signin_switches.h ('k') | ios/chrome/browser/about_flags.mm » ('j') | 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 #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 sign-in promo.
14 const char kDisableSigninPromo[] = "disable-signin-promo";
15
13 // Disables sending signin scoped device id to LSO with refresh token request. 16 // Disables sending signin scoped device id to LSO with refresh token request.
14 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id"; 17 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
15 18
16 // Enables consistent identity features. 19 // Enables consistent identity features.
17 const char kEnableAccountConsistency[] = "enable-account-consistency"; 20 const char kEnableAccountConsistency[] = "enable-account-consistency";
18 21
19 // Enables sending EnableRefreshTokenAnnotationRequest. 22 // Enables sending EnableRefreshTokenAnnotationRequest.
20 extern const char kEnableRefreshTokenAnnotationRequest[] = 23 extern const char kEnableRefreshTokenAnnotationRequest[] =
21 "enable-refresh-token-annotation-request"; 24 "enable-refresh-token-annotation-request";
22 25
26 // Enables sign-in promo.
27 const char kEnableSigninPromo[] = "enable-signin-promo";
28
23 // Enables multiple account versions of chrome.identity APIs. 29 // Enables multiple account versions of chrome.identity APIs.
24 const char kExtensionsMultiAccount[] = "extensions-multi-account"; 30 const char kExtensionsMultiAccount[] = "extensions-multi-account";
25 31
26 // Enables or disables the new password separated sign in flow in a tab modal 32 // Enables or disables the new password separated sign in flow in a tab modal
27 // dialog. 33 // dialog.
28 const base::Feature kUsePasswordSeparatedSigninFlow { 34 const base::Feature kUsePasswordSeparatedSigninFlow {
29 "UsePasswordSeparatedSigninFlow", base::FEATURE_ENABLED_BY_DEFAULT 35 "UsePasswordSeparatedSigninFlow", base::FEATURE_ENABLED_BY_DEFAULT
30 }; 36 };
31 37
32 } // namespace switches 38 } // namespace switches
OLDNEW
« no previous file with comments | « components/signin/core/common/signin_switches.h ('k') | ios/chrome/browser/about_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698