| 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 password generation when we detect that the user is going through | 10 // Disables password generation when we detect that the user is going through |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // credit card form. | 22 // credit card form. |
| 23 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; | 23 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; |
| 24 | 24 |
| 25 // Enables password generation when we detect that the user is going through | 25 // Enables password generation when we detect that the user is going through |
| 26 // account creation. | 26 // account creation. |
| 27 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 27 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 28 | 28 |
| 29 // Enables/disables suggestions without typing anything (on first click). | 29 // Enables/disables suggestions without typing anything (on first click). |
| 30 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 30 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
| 31 | 31 |
| 32 // Enables the feature that imports Wallet cards for Chrome Autofill. |
| 33 const char kEnableWalletCardImport[] = "enable-wallet-card-import"; |
| 34 |
| 32 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 35 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 33 const char kIgnoreAutocompleteOffForAutofill[] = | 36 const char kIgnoreAutocompleteOffForAutofill[] = |
| 34 "ignore-autocomplete-off-autofill"; | 37 "ignore-autocomplete-off-autofill"; |
| 35 | 38 |
| 36 // Removes the requirement that we recieved a ping from the autofill servers | 39 // Removes the requirement that we recieved a ping from the autofill servers |
| 37 // and that the user doesn't have the given form blacklisted. Used in testing. | 40 // and that the user doesn't have the given form blacklisted. Used in testing. |
| 38 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 41 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
| 39 "local-heuristics-only-for-password-generation"; | 42 "local-heuristics-only-for-password-generation"; |
| 40 | 43 |
| 41 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. | 44 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 54 | 57 |
| 55 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 58 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
| 56 // API calls. | 59 // API calls. |
| 57 const char kWalletServiceUrl[] = "wallet-service-url"; | 60 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 58 | 61 |
| 59 // Use the sandbox Online Wallet service URL (for developer testing). | 62 // Use the sandbox Online Wallet service URL (for developer testing). |
| 60 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 63 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
| 61 | 64 |
| 62 } // namespace switches | 65 } // namespace switches |
| 63 } // namespace autofill | 66 } // namespace autofill |
| OLD | NEW |