OLD | NEW |
| (Empty) |
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/common/autofill_switches.h" | |
6 | |
7 namespace autofill { | |
8 namespace switches { | |
9 | |
10 // Flag used to tell Chrome the Autochecout whitelist url. | |
11 const char kAutocheckoutWhitelistUrl[] = "autocheckout-whitelist-url"; | |
12 | |
13 // Flag used to tell Chrome the base url of the Autofill service. | |
14 const char kAutofillServiceUrl[] = "autofill-service-url"; | |
15 | |
16 // Bypass autocheckout whitelist check, so all sites are enabled. | |
17 const char kBypassAutocheckoutWhitelist[] = "bypass-autocheckout-whitelist"; | |
18 | |
19 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete | |
20 // for a description. | |
21 const char kDisableInteractiveAutocomplete[] = | |
22 "disable-interactive-autocomplete"; | |
23 | |
24 // Enable autofill for new elements like checkboxes. crbug.com/157636 | |
25 const 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). | |
31 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; | |
32 | |
33 // Annotates forms with Autofill field type predictions. | |
34 const 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. | |
38 const 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. | |
42 const 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. | |
46 const char kWalletServiceUseProd[] = "wallet-service-use-prod"; | |
47 | |
48 } // namespace switches | |
49 } // namespace autofill | |
OLD | NEW |