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

Side by Side Diff: components/autofill/core/common/autofill_switches.cc

Issue 492043003: Fill on account select in the password manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-added check that form contains a username field. Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/autofill/core/common/autofill_switches.h" 5 #include "components/autofill/core/common/autofill_switches.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 namespace switches { 8 namespace switches {
9 9
10 // Disables the experiment for the password manager to only fill on account
11 // selection, rather than autofilling on page load.
12 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select";
13
10 // Disables password generation when we detect that the user is going through 14 // Disables password generation when we detect that the user is going through
11 // account creation. 15 // account creation.
12 const char kDisablePasswordGeneration[] = "disable-password-generation"; 16 const char kDisablePasswordGeneration[] = "disable-password-generation";
13 17
18 // Enables the experiment for the password manager to only fill on account
19 // selection, rather than autofilling on page load.
20 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select";
21
14 // Enables password generation when we detect that the user is going through 22 // Enables password generation when we detect that the user is going through
15 // account creation. 23 // account creation.
16 const char kEnablePasswordGeneration[] = "enable-password-generation"; 24 const char kEnablePasswordGeneration[] = "enable-password-generation";
17 25
18 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). 26 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
19 const char kIgnoreAutocompleteOffForAutofill[] = 27 const char kIgnoreAutocompleteOffForAutofill[] =
20 "ignore-autocomplete-off-autofill"; 28 "ignore-autocomplete-off-autofill";
21 29
22 // Removes the requirement that we recieved a ping from the autofill servers 30 // Removes the requirement that we recieved a ping from the autofill servers
23 // and that the user doesn't have the given form blacklisted. Used in testing. 31 // and that the user doesn't have the given form blacklisted. Used in testing.
24 const char kLocalHeuristicsOnlyForPasswordGeneration[] = 32 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
25 "local-heuristics-only-for-password-generation"; 33 "local-heuristics-only-for-password-generation";
26 34
27 // Annotates forms with Autofill field type predictions. 35 // Annotates forms with Autofill field type predictions.
28 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 36 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
29 37
30 // Secure service URL for Online Wallet service. Used as the base url to escrow 38 // Secure service URL for Online Wallet service. Used as the base url to escrow
31 // credit card numbers. 39 // credit card numbers.
32 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 40 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
33 41
34 // Service URL for Online Wallet service. Used as the base url for Online Wallet 42 // Service URL for Online Wallet service. Used as the base url for Online Wallet
35 // API calls. 43 // API calls.
36 const char kWalletServiceUrl[] = "wallet-service-url"; 44 const char kWalletServiceUrl[] = "wallet-service-url";
37 45
38 // Use the sandbox Online Wallet service URL (for developer testing). 46 // Use the sandbox Online Wallet service URL (for developer testing).
39 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 47 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
40 48
41 } // namespace switches 49 } // namespace switches
42 } // namespace autofill 50 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698