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 // Disables using device's camera to scan a new credit card when filling out a
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 password generation when we detect that the user is going through
20 const char kDisablePasswordGeneration
[] = "disable-password-generation";
22 // The "disable" flag for kEnableSingleClickAutofill.
23 const char kDisableSingleClickAutofill
[] = "disable-single-click-autofill";
25 // Enables using device's camera to scan a new credit card when filling out a
27 const char kEnableCreditCardScan
[] = "enable-credit-card-scan";
29 // Enables the experiment for the password manager to only fill on account
30 // selection, rather than autofilling on page load, with highlighting of fields.
31 const char kEnableFillOnAccountSelect
[] = "enable-fill-on-account-select";
33 // Enables the experiment for the password manager to only fill on account
34 // selection, rather than autofilling on page load, with no highlighting of
36 const char kEnableFillOnAccountSelectNoHighlighting
[] =
37 "enable-fill-on-account-select-no-highlighting";
39 // Enables password generation when we detect that the user is going through
41 const char kEnablePasswordGeneration
[] = "enable-password-generation";
43 // Enable showing password save prompt on in-page navigations
44 const char kEnablePasswordSaveOnInPageNavigation
[] =
45 "enable-password-save-in-page-navigation";
47 // Enables/disables suggestions without typing anything (on first click).
48 const char kEnableSingleClickAutofill
[] = "enable-single-click-autofill";
50 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
51 const char kIgnoreAutocompleteOffForAutofill
[] =
52 "ignore-autocomplete-off-autofill";
54 // Removes the requirement that we recieved a ping from the autofill servers
55 // and that the user doesn't have the given form blacklisted. Used in testing.
56 const char kLocalHeuristicsOnlyForPasswordGeneration
[] =
57 "local-heuristics-only-for-password-generation";
59 // The "disable" flag for kIgnoreAutocompleteOffForAutofill.
60 const char kRespectAutocompleteOffForAutofill
[] =
61 "respect-autocomplete-off-autofill";
63 // Annotates forms with Autofill field type predictions.
64 const char kShowAutofillTypePredictions
[] = "show-autofill-type-predictions";
66 // Secure service URL for Online Wallet service. Used as the base url to escrow
67 // credit card numbers.
68 const char kWalletSecureServiceUrl
[] = "wallet-secure-service-url";
70 // Service URL for Online Wallet service. Used as the base url for Online Wallet
72 const char kWalletServiceUrl
[] = "wallet-service-url";
74 // Use the sandbox Online Wallet service URL (for developer testing).
75 const char kWalletServiceUseSandbox
[] = "wallet-service-use-sandbox";
77 } // namespace switches
78 } // namespace autofill