autofill_switches.cc revision 4e180b6a0b4720a9b8e9e959a882386f690f08ff
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 7namespace autofill { 8namespace switches { 9 10// Flag used to tell Chrome the base url of the Autofill service. 11const char kAutofillServiceUrl[] = "autofill-service-url"; 12 13// Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete 14// for a description. 15const char kDisableInteractiveAutocomplete[] = 16 "disable-interactive-autocomplete"; 17 18// Disables password generation when we detect that the user is going through 19// account creation. 20const char kDisablePasswordGeneration[] = "disable-password-generation"; 21 22// Enable autofill for new elements like checkboxes. crbug.com/157636 23const char kEnableExperimentalFormFilling[] = 24 "enable-experimental-form-filling"; 25 26// Enables an interactive autocomplete UI and a way to invoke this UI from 27// WebKit by enabling HTMLFormElement#requestAutocomplete (and associated 28// autocomplete* events and logic). 29const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; 30 31// Enables password generation when we detect that the user is going through 32// account creation. 33const char kEnablePasswordGeneration[] = "enable-password-generation"; 34 35// Annotates forms with Autofill field type predictions. 36const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 37 38// Secure service URL for Online Wallet service. Used as the base url to escrow 39// credit card numbers. 40const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 41 42// Service URL for Online Wallet service. Used as the base url for Online Wallet 43// API calls. 44const char kWalletServiceUrl[] = "wallet-service-url"; 45 46// Use the sandbox Online Wallet service URL (for developer testing). 47const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 48 49} // namespace switches 50} // namespace autofill 51