Autofill: Add WalletIntegrationAvailable() to components.
[chromium-blink-merge.git] / components / autofill / core / common / autofill_switches.cc
blob83c38a18a4495cd79b57c64b2e6727de672d9ab9
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"
7 namespace autofill {
8 namespace switches {
10 // Disables using device's camera to scan a new credit card when filling out a
11 // credit card form.
12 const char kDisableCreditCardScan[] = "disable-credit-card-scan";
14 // Disables the experiment for the password manager to only fill on account
15 // selection, rather than autofilling on page load.
16 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select";
18 // Force hiding the local save checkbox in the autofill dialog box for getting
19 // the full credit card number for a wallet card. The card will never be stored
20 // locally.
21 const char kDisableOfferStoreUnmaskedWalletCards[] =
22 "disable-offer-store-unmasked-wallet-cards";
24 // Disables password generation when we detect that the user is going through
25 // account creation.
26 const char kDisablePasswordGeneration[] = "disable-password-generation";
28 // The "disable" flag for kEnableSingleClickAutofill.
29 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
31 const char kEnableAccessorySuggestionView[] =
32 "enable-autofill-keyboard-accessory-view";
34 // Enables using device's camera to scan a new credit card when filling out a
35 // credit card form.
36 const char kEnableCreditCardScan[] = "enable-credit-card-scan";
38 // Enables the experiment for the password manager to only fill on account
39 // selection, rather than autofilling on page load, with highlighting of fields.
40 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select";
42 // Enables the experiment for the password manager to only fill on account
43 // selection, rather than autofilling on page load, with no highlighting of
44 // fields.
45 const char kEnableFillOnAccountSelectNoHighlighting[] =
46 "enable-fill-on-account-select-no-highlighting";
48 // Force showing the local save checkbox in the autofill dialog box for getting
49 // the full credit card number for a wallet card.
50 const char kEnableOfferStoreUnmaskedWalletCards[] =
51 "enable-offer-store-unmasked-wallet-cards";
53 // Enables password generation when we detect that the user is going through
54 // account creation.
55 const char kEnablePasswordGeneration[] = "enable-password-generation";
57 // Enable showing password save prompt on in-page navigations
58 const char kEnablePasswordSaveOnInPageNavigation[] =
59 "enable-password-save-in-page-navigation";
61 // Enables/disables suggestions without typing anything (on first click).
62 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
64 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
65 const char kIgnoreAutocompleteOffForAutofill[] =
66 "ignore-autocomplete-off-autofill";
68 // Removes the requirement that we recieved a ping from the autofill servers
69 // and that the user doesn't have the given form blacklisted. Used in testing.
70 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
71 "local-heuristics-only-for-password-generation";
73 // Annotates forms with Autofill field type predictions.
74 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
76 // Secure service URL for Online Wallet service. Used as the base url to escrow
77 // credit card numbers.
78 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
80 // Service URL for Online Wallet service. Used as the base url for Online Wallet
81 // API calls.
82 const char kWalletServiceUrl[] = "wallet-service-url";
84 // Use the sandbox Online Wallet service URL (for developer testing).
85 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
87 } // namespace switches
88 } // namespace autofill