| 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 the experiment for the password manager to only fill on account |
| 11 // selection, rather than autofilling on page load. |
| 12 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select"; |
| 13 |
| 10 // 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 |
| 11 // account creation. | 15 // account creation. |
| 12 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 16 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
| 13 | 17 |
| 14 // Local heuristics override server predictions for name types. | 18 // Local heuristics override server predictions for name types. |
| 15 const char kDisambiguateAutofillServerNameTypes[] = | 19 const char kDisambiguateAutofillServerNameTypes[] = |
| 16 "disambiguate-autofill-server-name-types"; | 20 "disambiguate-autofill-server-name-types"; |
| 17 | 21 |
| 22 // Enables the experiment for the password manager to only fill on account |
| 23 // selection, rather than autofilling on page load. |
| 24 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; |
| 25 |
| 18 // Enables password generation when we detect that the user is going through | 26 // Enables password generation when we detect that the user is going through |
| 19 // account creation. | 27 // account creation. |
| 20 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 28 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 21 | 29 |
| 22 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 30 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 23 const char kIgnoreAutocompleteOffForAutofill[] = | 31 const char kIgnoreAutocompleteOffForAutofill[] = |
| 24 "ignore-autocomplete-off-autofill"; | 32 "ignore-autocomplete-off-autofill"; |
| 25 | 33 |
| 26 // Removes the requirement that we recieved a ping from the autofill servers | 34 // Removes the requirement that we recieved a ping from the autofill servers |
| 27 // and that the user doesn't have the given form blacklisted. Used in testing. | 35 // and that the user doesn't have the given form blacklisted. Used in testing. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 44 | 52 |
| 45 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 53 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
| 46 // API calls. | 54 // API calls. |
| 47 const char kWalletServiceUrl[] = "wallet-service-url"; | 55 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 48 | 56 |
| 49 // Use the sandbox Online Wallet service URL (for developer testing). | 57 // Use the sandbox Online Wallet service URL (for developer testing). |
| 50 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 58 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
| 51 | 59 |
| 52 } // namespace switches | 60 } // namespace switches |
| 53 } // namespace autofill | 61 } // namespace autofill |
| OLD | NEW |