| 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 // Forces the password manager to not ignore autocomplete='off' for password | 10 // Forces the password manager to not ignore autocomplete='off' for password |
| 11 // forms. | 11 // forms. |
| 12 const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off"; | 12 const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off"; |
| 13 | 13 |
| 14 // 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 |
| 15 // account creation. | 15 // account creation. |
| 16 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 16 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
| 17 | 17 |
| 18 // Enables password generation when we detect that the user is going through | 18 // Enables password generation when we detect that the user is going through |
| 19 // account creation. | 19 // account creation. |
| 20 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 20 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 21 | 21 |
| 22 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 23 const char kIgnoreAutocompleteOffForAutofill[] = |
| 24 "ignore-autocomplete-off-autofill"; |
| 25 |
| 22 // Removes the requirement that we recieved a ping from the autofill servers | 26 // Removes the requirement that we recieved a ping from the autofill servers |
| 23 // and that the user doesn't have the given form blacklisted. Used in testing. | 27 // and that the user doesn't have the given form blacklisted. Used in testing. |
| 24 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 28 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
| 25 "local-heuristics-only-for-password-generation"; | 29 "local-heuristics-only-for-password-generation"; |
| 26 | 30 |
| 27 // Annotates forms with Autofill field type predictions. | 31 // Annotates forms with Autofill field type predictions. |
| 28 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; | 32 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; |
| 29 | 33 |
| 30 // Secure service URL for Online Wallet service. Used as the base url to escrow | 34 // Secure service URL for Online Wallet service. Used as the base url to escrow |
| 31 // credit card numbers. | 35 // credit card numbers. |
| 32 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; | 36 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; |
| 33 | 37 |
| 34 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 38 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
| 35 // API calls. | 39 // API calls. |
| 36 const char kWalletServiceUrl[] = "wallet-service-url"; | 40 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 37 | 41 |
| 38 // Use the sandbox Online Wallet service URL (for developer testing). | 42 // Use the sandbox Online Wallet service URL (for developer testing). |
| 39 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 43 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
| 40 | 44 |
| 41 } // namespace switches | 45 } // namespace switches |
| 42 } // namespace autofill | 46 } // namespace autofill |
| OLD | NEW |