autofill_switches.cc revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
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 Autochecout whitelist url.
11const char kAutocheckoutWhitelistUrl[]      = "autocheckout-whitelist-url";
12
13// Flag used to tell Chrome the base url of the Autofill service.
14const char kAutofillServiceUrl[]            = "autofill-service-url";
15
16// Bypass autocheckout whitelist check, so all sites are enabled.
17const char kBypassAutocheckoutWhitelist[]   = "bypass-autocheckout-whitelist";
18
19// Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete
20// for a description.
21const char kDisableInteractiveAutocomplete[] =
22    "disable-interactive-autocomplete";
23
24// Enable autofill for new elements like checkboxes. crbug.com/157636
25const char kEnableExperimentalFormFilling[] =
26    "enable-experimental-form-filling";
27
28// Enables an interactive autocomplete UI and a way to invoke this UI from
29// WebKit by enabling HTMLFormElement#requestAutocomplete (and associated
30// autocomplete* events and logic).
31const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete";
32
33// Annotates forms with Autofill field type predictions.
34const char kShowAutofillTypePredictions[]   = "show-autofill-type-predictions";
35
36// Secure service URL for Online Wallet service. Used as the base url to escrow
37// credit card numbers.
38const char kWalletSecureServiceUrl[]        = "wallet-secure-service-url";
39
40// Service URL for Online Wallet service. Used as the base url for Online Wallet
41// API calls.
42const char kWalletServiceUrl[]              = "wallet-service-url";
43
44// Enable production Online Wallet service. If this flag is not set, the sandbox
45// service will be used.
46const char kWalletServiceUseProd[]          = "wallet-service-use-prod";
47
48}  // namespace switches
49}  // namespace autofill
50