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.
5 #include "components/autofill/core/common/autofill_switches.h"
10 // Forces the password manager to not ignore autocomplete='off' for password
12 const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off";
14 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete
16 const char kDisableInteractiveAutocomplete[] =
17 "disable-interactive-autocomplete";
19 // Disables password generation when we detect that the user is going through
21 const char kDisablePasswordGeneration[] = "disable-password-generation";
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";
28 // Enables password generation when we detect that the user is going through
30 const char kEnablePasswordGeneration[] = "enable-password-generation";
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";
37 // Annotates forms with Autofill field type predictions.
38 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
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";
44 // Service URL for Online Wallet service. Used as the base url for Online Wallet
46 const char kWalletServiceUrl[] = "wallet-service-url";
48 // Use the sandbox Online Wallet service URL (for developer testing).
49 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
51 } // namespace switches
52 } // namespace autofill