e30407a567376801abe8ac33e470108fc4945ecf
[platform/framework/web/crosswalk.git] / src / components / autofill / core / common / autofill_switches.cc
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 // Forces the password manager to not ignore autocomplete='off' for password
11 // forms.
12 const char kDisableIgnoreAutocompleteOff[]  = "do-not-ignore-autocomplete-off";
13
14 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete
15 // for a description.
16 const char kDisableInteractiveAutocomplete[] =
17     "disable-interactive-autocomplete";
18
19 // Disables password generation when we detect that the user is going through
20 // account creation.
21 const char kDisablePasswordGeneration[]     = "disable-password-generation";
22
23 // Enables an interactive autocomplete UI and a way to invoke this UI from
24 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated
25 // autocomplete* events and logic).
26 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete";
27
28 // Enables password generation when we detect that the user is going through
29 // account creation.
30 const char kEnablePasswordGeneration[]      = "enable-password-generation";
31
32 // Removes the requirement that we recieved a ping from the autofill servers
33 // and that the user doesn't have the given form blacklisted. Used in testing.
34 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
35     "local-heuristics-only-for-password-generation";
36
37 // Annotates forms with Autofill field type predictions.
38 const char kShowAutofillTypePredictions[]   = "show-autofill-type-predictions";
39
40 // Secure service URL for Online Wallet service. Used as the base url to escrow
41 // credit card numbers.
42 const char kWalletSecureServiceUrl[]        = "wallet-secure-service-url";
43
44 // Service URL for Online Wallet service. Used as the base url for Online Wallet
45 // API calls.
46 const char kWalletServiceUrl[]              = "wallet-service-url";
47
48 // Use the sandbox Online Wallet service URL (for developer testing).
49 const char kWalletServiceUseSandbox[]       = "wallet-service-use-sandbox";
50
51 }  // namespace switches
52 }  // namespace autofill