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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const char kEnableOfferStoreUnmaskedWalletCards[] = | 56 const char kEnableOfferStoreUnmaskedWalletCards[] = |
57 "enable-offer-store-unmasked-wallet-cards"; | 57 "enable-offer-store-unmasked-wallet-cards"; |
58 | 58 |
59 // Enables password generation when we detect that the user is going through | 59 // Enables password generation when we detect that the user is going through |
60 // account creation. | 60 // account creation. |
61 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 61 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
62 | 62 |
63 // Enables/disables suggestions without typing anything (on first click). | 63 // Enables/disables suggestions without typing anything (on first click). |
64 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 64 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
65 | 65 |
| 66 // Enables suggestions with substring matching instead of prefix matching. |
| 67 const char kEnableSuggestionsWithSubstringMatch[] = |
| 68 "enable-suggestions-with-substring-match"; |
| 69 |
66 // Enables syncing usage counts and last use dates of Wallet addresses and | 70 // Enables syncing usage counts and last use dates of Wallet addresses and |
67 // cards. | 71 // cards. |
68 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync"; | 72 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync"; |
69 | 73 |
70 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 74 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
71 const char kIgnoreAutocompleteOffForAutofill[] = | 75 const char kIgnoreAutocompleteOffForAutofill[] = |
72 "ignore-autocomplete-off-autofill"; | 76 "ignore-autocomplete-off-autofill"; |
73 | 77 |
74 // Removes the requirement that we recieved a ping from the autofill servers | 78 // Removes the requirement that we recieved a ping from the autofill servers |
75 // and that the user doesn't have the given form blacklisted. Used in testing. | 79 // and that the user doesn't have the given form blacklisted. Used in testing. |
76 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 80 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
77 "local-heuristics-only-for-password-generation"; | 81 "local-heuristics-only-for-password-generation"; |
78 | 82 |
79 // Annotates forms with Autofill field type predictions. | 83 // Annotates forms with Autofill field type predictions. |
80 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; | 84 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; |
81 | 85 |
82 // Secure service URL for Online Wallet service. Used as the base url to escrow | 86 // Secure service URL for Online Wallet service. Used as the base url to escrow |
83 // credit card numbers. | 87 // credit card numbers. |
84 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; | 88 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; |
85 | 89 |
86 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 90 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
87 // API calls. | 91 // API calls. |
88 const char kWalletServiceUrl[] = "wallet-service-url"; | 92 const char kWalletServiceUrl[] = "wallet-service-url"; |
89 | 93 |
90 // Use the sandbox Online Wallet service URL (for developer testing). | 94 // Use the sandbox Online Wallet service URL (for developer testing). |
91 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 95 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
92 | 96 |
93 } // namespace switches | 97 } // namespace switches |
94 } // namespace autofill | 98 } // namespace autofill |
OLD | NEW |