| 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 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 |
| 14 // The "disable" flag for kEnableSingleClickAutofill. | 18 // The "disable" flag for kEnableSingleClickAutofill. |
| 15 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; | 19 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; |
| 16 | 20 |
| 17 // Local heuristics override server predictions for name types. | 21 // Local heuristics override server predictions for name types. |
| 18 const char kDisambiguateAutofillServerNameTypes[] = | 22 const char kDisambiguateAutofillServerNameTypes[] = |
| 19 "disambiguate-autofill-server-name-types"; | 23 "disambiguate-autofill-server-name-types"; |
| 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 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 40 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 33 const char kIgnoreAutocompleteOffForAutofill[] = | 41 const char kIgnoreAutocompleteOffForAutofill[] = |
| 34 "ignore-autocomplete-off-autofill"; | 42 "ignore-autocomplete-off-autofill"; |
| (...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 |