| 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 29 matching lines...) Expand all Loading... |
| 40 // account creation. | 40 // account creation. |
| 41 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 41 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 42 | 42 |
| 43 // Enable showing password save prompt on in-page navigations | 43 // Enable showing password save prompt on in-page navigations |
| 44 const char kEnablePasswordSaveOnInPageNavigation[] = | 44 const char kEnablePasswordSaveOnInPageNavigation[] = |
| 45 "enable-password-save-in-page-navigation"; | 45 "enable-password-save-in-page-navigation"; |
| 46 | 46 |
| 47 // Enables/disables suggestions without typing anything (on first click). | 47 // Enables/disables suggestions without typing anything (on first click). |
| 48 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 48 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
| 49 | 49 |
| 50 // Enables suggestions with sub-string matching instead of prefix |
| 51 // matching. |
| 52 const char kEnableSuggestionsWithSubStringMatch[] = |
| 53 "enable-suggestions-with-sub-string-match"; |
| 54 |
| 50 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 55 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 51 const char kIgnoreAutocompleteOffForAutofill[] = | 56 const char kIgnoreAutocompleteOffForAutofill[] = |
| 52 "ignore-autocomplete-off-autofill"; | 57 "ignore-autocomplete-off-autofill"; |
| 53 | 58 |
| 54 // Removes the requirement that we recieved a ping from the autofill servers | 59 // Removes the requirement that we recieved a ping from the autofill servers |
| 55 // and that the user doesn't have the given form blacklisted. Used in testing. | 60 // and that the user doesn't have the given form blacklisted. Used in testing. |
| 56 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 61 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
| 57 "local-heuristics-only-for-password-generation"; | 62 "local-heuristics-only-for-password-generation"; |
| 58 | 63 |
| 59 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. | 64 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. |
| 60 const char kRespectAutocompleteOffForAutofill[] = | 65 const char kRespectAutocompleteOffForAutofill[] = |
| 61 "respect-autocomplete-off-autofill"; | 66 "respect-autocomplete-off-autofill"; |
| 62 | 67 |
| 63 // Annotates forms with Autofill field type predictions. | 68 // Annotates forms with Autofill field type predictions. |
| 64 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; | 69 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; |
| 65 | 70 |
| 66 // Secure service URL for Online Wallet service. Used as the base url to escrow | 71 // Secure service URL for Online Wallet service. Used as the base url to escrow |
| 67 // credit card numbers. | 72 // credit card numbers. |
| 68 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; | 73 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; |
| 69 | 74 |
| 70 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 75 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
| 71 // API calls. | 76 // API calls. |
| 72 const char kWalletServiceUrl[] = "wallet-service-url"; | 77 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 73 | 78 |
| 74 // Use the sandbox Online Wallet service URL (for developer testing). | 79 // Use the sandbox Online Wallet service URL (for developer testing). |
| 75 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 80 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
| 76 | 81 |
| 77 } // namespace switches | 82 } // namespace switches |
| 78 } // namespace autofill | 83 } // namespace autofill |
| OLD | NEW |