autofill_switches.cc revision f2477e01787aa58f445919b809d89e252beef54f
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// Enables an interactive autocomplete UI and a way to invoke this UI from
23// WebKit by enabling HTMLFormElement#requestAutocomplete (and associated
24// autocomplete* events and logic).
25const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete";
26
27// Enables password generation when we detect that the user is going through
28// account creation.
29const char kEnablePasswordGeneration[]      = "enable-password-generation";
30
31// Removes the requirement that we recieved a ping from the autofill servers.
32// Used in testing.
33const char kNoAutofillNecessaryForPasswordGeneration[] =
34    "no-autofill-for-password-generation";
35
36// Annotates forms with Autofill field type predictions.
37const char kShowAutofillTypePredictions[]   = "show-autofill-type-predictions";
38
39// Secure service URL for Online Wallet service. Used as the base url to escrow
40// credit card numbers.
41const char kWalletSecureServiceUrl[]        = "wallet-secure-service-url";
42
43// Service URL for Online Wallet service. Used as the base url for Online Wallet
44// API calls.
45const char kWalletServiceUrl[]              = "wallet-service-url";
46
47// Use the sandbox Online Wallet service URL (for developer testing).
48const char kWalletServiceUseSandbox[]       = "wallet-service-use-sandbox";
49
50}  // namespace switches
51}  // namespace autofill
52