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 3 // found in the LICENSE file. 4 5 #include "components/autofill/core/common/autofill_switches.h" 6 7 namespace autofill { 8 namespace switches { 9 10 // Flag used to tell Chrome the base url of the Autofill service. 11 const char kAutofillServiceUrl[] = "autofill-service-url"; 12 13 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete 14 // for a description. 15 const char kDisableInteractiveAutocomplete[] = 16 "disable-interactive-autocomplete"; 17 18 // Disables password generation when we detect that the user is going through 19 // account creation. 20 const char kDisablePasswordGeneration[] = "disable-password-generation"; 21 22 // Forces the password manager to ignore autocomplete='off' for password forms. 23 const char kEnableIgnoreAutocompleteOff[] = "enable-ignore-autocomplete-off"; 24 25 // Enables an interactive autocomplete UI and a way to invoke this UI from 26 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated 27 // autocomplete* events and logic). 28 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; 29 30 // Enables password generation when we detect that the user is going through 31 // account creation. 32 const char kEnablePasswordGeneration[] = "enable-password-generation"; 33 34 // Removes the requirement that we recieved a ping from the autofill servers. 35 // Used in testing. 36 const char kNoAutofillNecessaryForPasswordGeneration[] = 37 "no-autofill-for-password-generation"; 38 39 // Annotates forms with Autofill field type predictions. 40 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 41 42 // Secure service URL for Online Wallet service. Used as the base url to escrow 43 // credit card numbers. 44 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 45 46 // Service URL for Online Wallet service. Used as the base url for Online Wallet 47 // API calls. 48 const char kWalletServiceUrl[] = "wallet-service-url"; 49 50 // Use the sandbox Online Wallet service URL (for developer testing). 51 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 52 53 } // namespace switches 54 } // namespace autofill 55