Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / components / autofill / core / common / autofill_switches.cc
blob0bd07e07dd837fe841e87772aa235994e64207c3
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 // Disables the experimental Full Form Autofill on iOS feature.
19 const char kDisableFullFormAutofillIOS[] = "disable-full-form-autofill-ios";
21 // Force hiding the local save checkbox in the autofill dialog box for getting
22 // the full credit card number for a wallet card. The card will never be stored
23 // locally.
24 const char kDisableOfferStoreUnmaskedWalletCards[] =
25 "disable-offer-store-unmasked-wallet-cards";
27 // Disables password generation when we detect that the user is going through
28 // account creation.
29 const char kDisablePasswordGeneration[] = "disable-password-generation";
31 // The "disable" flag for kEnableSingleClickAutofill.
32 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
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 // Enables the experimental Full Form Autofill on iOS feature.
49 const char kEnableFullFormAutofillIOS[] = "enable-full-form-autofill-ios";
51 // Force showing the local save checkbox in the autofill dialog box for getting
52 // the full credit card number for a wallet card.
53 const char kEnableOfferStoreUnmaskedWalletCards[] =
54 "enable-offer-store-unmasked-wallet-cards";
56 // Enables password generation when we detect that the user is going through
57 // account creation.
58 const char kEnablePasswordGeneration[] = "enable-password-generation";
60 // Enables/disables suggestions without typing anything (on first click).
61 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
63 // Enables suggestions with substring matching instead of prefix matching.
64 const char kEnableSuggestionsWithSubstringMatch[] =
65 "enable-suggestions-with-substring-match";
67 // Enables syncing usage counts and last use dates of Wallet addresses and
68 // cards.
69 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync";
71 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
72 const char kIgnoreAutocompleteOffForAutofill[] =
73 "ignore-autocomplete-off-autofill";
75 // Removes the requirement that we recieved a ping from the autofill servers
76 // and that the user doesn't have the given form blacklisted. Used in testing.
77 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
78 "local-heuristics-only-for-password-generation";
80 // Annotates forms with Autofill field type predictions.
81 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
83 // Secure service URL for Online Wallet service. Used as the base url to escrow
84 // credit card numbers.
85 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
87 // Service URL for Online Wallet service. Used as the base url for Online Wallet
88 // API calls.
89 const char kWalletServiceUrl[] = "wallet-service-url";
91 // Use the sandbox Online Wallet service URL (for developer testing).
92 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
94 #if defined(OS_ANDROID)
95 // Disables showing suggestions in a keyboard accessory view.
96 const char kDisableAccessorySuggestionView[] =
97 "disable-autofill-keyboard-accessory-view";
99 // Enables showing suggestions in a keyboard accessory view.
100 const char kEnableAccessorySuggestionView[] =
101 "enable-autofill-keyboard-accessory-view";
102 #endif // defined(OS_ANDROID)
104 } // namespace switches
105 } // namespace autofill