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