OLD | NEW |
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 using device's camera to scan a new credit card when filling out a | 10 // Disables using device's camera to scan a new credit card when filling out a |
11 // credit card form. | 11 // credit card form. |
12 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; | 12 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; |
13 | 13 |
| 14 // Disables the experiment for the password manager to only fill on account |
| 15 // selection, rather than autofilling on page load. |
| 16 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select"; |
| 17 |
14 // Disables password generation when we detect that the user is going through | 18 // Disables password generation when we detect that the user is going through |
15 // account creation. | 19 // account creation. |
16 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 20 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
17 | 21 |
18 // The "disable" flag for kEnableSingleClickAutofill. | 22 // The "disable" flag for kEnableSingleClickAutofill. |
19 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; | 23 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; |
20 | 24 |
21 // Enables using device's camera to scan a new credit card when filling out a | 25 // Enables using device's camera to scan a new credit card when filling out a |
22 // credit card form. | 26 // credit card form. |
23 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; | 27 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; |
24 | 28 |
| 29 // Enables the experiment for the password manager to only fill on account |
| 30 // selection, rather than autofilling on page load. |
| 31 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; |
| 32 |
25 // Enables password generation when we detect that the user is going through | 33 // Enables password generation when we detect that the user is going through |
26 // account creation. | 34 // account creation. |
27 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 35 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
28 | 36 |
29 // Enables/disables suggestions without typing anything (on first click). | 37 // Enables/disables suggestions without typing anything (on first click). |
30 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 38 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
31 | 39 |
32 // Enables the feature that imports Wallet cards for Chrome Autofill. | 40 // Enables the feature that imports Wallet cards for Chrome Autofill. |
33 const char kEnableWalletCardImport[] = "enable-wallet-card-import"; | 41 const char kEnableWalletCardImport[] = "enable-wallet-card-import"; |
34 | 42 |
(...skipping 19 matching lines...) Expand all Loading... |
54 | 62 |
55 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 63 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
56 // API calls. | 64 // API calls. |
57 const char kWalletServiceUrl[] = "wallet-service-url"; | 65 const char kWalletServiceUrl[] = "wallet-service-url"; |
58 | 66 |
59 // Use the sandbox Online Wallet service URL (for developer testing). | 67 // Use the sandbox Online Wallet service URL (for developer testing). |
60 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 68 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
61 | 69 |
62 } // namespace switches | 70 } // namespace switches |
63 } // namespace autofill | 71 } // namespace autofill |
OLD | NEW |