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

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

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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
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
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const char kEnableOfferStoreUnmaskedWalletCards[] = 50 const char kEnableOfferStoreUnmaskedWalletCards[] =
51 "enable-offer-store-unmasked-wallet-cards"; 51 "enable-offer-store-unmasked-wallet-cards";
52 52
53 // Enables password generation when we detect that the user is going through 53 // Enables password generation when we detect that the user is going through
54 // account creation. 54 // account creation.
55 const char kEnablePasswordGeneration[] = "enable-password-generation"; 55 const char kEnablePasswordGeneration[] = "enable-password-generation";
56 56
57 // Enables/disables suggestions without typing anything (on first click). 57 // Enables/disables suggestions without typing anything (on first click).
58 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; 58 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
59 59
60 // Enables suggestions with substring matching instead of prefix matching.
61 const char kEnableSuggestionsWithSubstringMatch[] =
62 "enable-suggestions-with-substring-match";
63
60 // Enables syncing usage counts and last use dates of Wallet addresses and 64 // Enables syncing usage counts and last use dates of Wallet addresses and
61 // cards. 65 // cards.
62 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync"; 66 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync";
63 67
64 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). 68 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
65 const char kIgnoreAutocompleteOffForAutofill[] = 69 const char kIgnoreAutocompleteOffForAutofill[] =
66 "ignore-autocomplete-off-autofill"; 70 "ignore-autocomplete-off-autofill";
67 71
68 // Removes the requirement that we recieved a ping from the autofill servers 72 // 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. 73 // and that the user doesn't have the given form blacklisted. Used in testing.
70 const char kLocalHeuristicsOnlyForPasswordGeneration[] = 74 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
71 "local-heuristics-only-for-password-generation"; 75 "local-heuristics-only-for-password-generation";
72 76
73 // Annotates forms with Autofill field type predictions. 77 // Annotates forms with Autofill field type predictions.
74 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 78 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
75 79
76 // Secure service URL for Online Wallet service. Used as the base url to escrow 80 // Secure service URL for Online Wallet service. Used as the base url to escrow
77 // credit card numbers. 81 // credit card numbers.
78 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 82 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
79 83
80 // Service URL for Online Wallet service. Used as the base url for Online Wallet 84 // Service URL for Online Wallet service. Used as the base url for Online Wallet
81 // API calls. 85 // API calls.
82 const char kWalletServiceUrl[] = "wallet-service-url"; 86 const char kWalletServiceUrl[] = "wallet-service-url";
83 87
84 // Use the sandbox Online Wallet service URL (for developer testing). 88 // Use the sandbox Online Wallet service URL (for developer testing).
85 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 89 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
86 90
87 } // namespace switches 91 } // namespace switches
88 } // namespace autofill 92 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698