Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: components/autofill/core/common/autofill_switches.cc

Issue 796993002: Turn on cardholder/recipient name disambiguation by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/autofill/core/common/autofill_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/common/autofill_switches.h" 5 #include "components/autofill/core/common/autofill_switches.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 namespace switches { 8 namespace switches {
9 9
10 // Disables using device's camera to scan a new credit card when filling out a 10 // Disables using device's camera to scan a new credit card when filling out a
11 // credit card form. 11 // credit card form.
12 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; 12 const char kDisableCreditCardScan[] = "disable-credit-card-scan";
13 13
14 // Disables password generation when we detect that the user is going through 14 // Disables password generation when we detect that the user is going through
15 // account creation. 15 // account creation.
16 const char kDisablePasswordGeneration[] = "disable-password-generation"; 16 const char kDisablePasswordGeneration[] = "disable-password-generation";
17 17
18 // The "disable" flag for kEnableSingleClickAutofill. 18 // The "disable" flag for kEnableSingleClickAutofill.
19 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; 19 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
20 20
21 // Local heuristics override server predictions for name types.
22 const char kDisambiguateAutofillServerNameTypes[] =
23 "disambiguate-autofill-server-name-types";
24
25 // Enables using device's camera to scan a new credit card when filling out a 21 // Enables using device's camera to scan a new credit card when filling out a
26 // credit card form. 22 // credit card form.
27 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; 23 const char kEnableCreditCardScan[] = "enable-credit-card-scan";
28 24
29 // Enables password generation when we detect that the user is going through 25 // Enables password generation when we detect that the user is going through
30 // account creation. 26 // account creation.
31 const char kEnablePasswordGeneration[] = "enable-password-generation"; 27 const char kEnablePasswordGeneration[] = "enable-password-generation";
32 28
33 // Enables/disables suggestions without typing anything (on first click). 29 // Enables/disables suggestions without typing anything (on first click).
34 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; 30 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
(...skipping 10 matching lines...) Expand all
45 const char kLocalHeuristicsOnlyForPasswordGeneration[] = 41 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
46 "local-heuristics-only-for-password-generation"; 42 "local-heuristics-only-for-password-generation";
47 43
48 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. 44 // The "disable" flag for kIgnoreAutocompleteOffForAutofill.
49 const char kRespectAutocompleteOffForAutofill[] = 45 const char kRespectAutocompleteOffForAutofill[] =
50 "respect-autocomplete-off-autofill"; 46 "respect-autocomplete-off-autofill";
51 47
52 // Annotates forms with Autofill field type predictions. 48 // Annotates forms with Autofill field type predictions.
53 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 49 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
54 50
55 // Always trust server predictions for name types.
56 const char kTrustAutofillServerNameTypes[] = "trust-autofill-server-name-types";
57
58 // Secure service URL for Online Wallet service. Used as the base url to escrow 51 // Secure service URL for Online Wallet service. Used as the base url to escrow
59 // credit card numbers. 52 // credit card numbers.
60 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 53 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
61 54
62 // Service URL for Online Wallet service. Used as the base url for Online Wallet 55 // Service URL for Online Wallet service. Used as the base url for Online Wallet
63 // API calls. 56 // API calls.
64 const char kWalletServiceUrl[] = "wallet-service-url"; 57 const char kWalletServiceUrl[] = "wallet-service-url";
65 58
66 // Use the sandbox Online Wallet service URL (for developer testing). 59 // Use the sandbox Online Wallet service URL (for developer testing).
67 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 60 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
68 61
69 } // namespace switches 62 } // namespace switches
70 } // namespace autofill 63 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/common/autofill_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698