OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // account creation. | 57 // account creation. |
58 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 58 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
59 | 59 |
60 // Enables/disables suggestions without typing anything (on first click). | 60 // Enables/disables suggestions without typing anything (on first click). |
61 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 61 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
62 | 62 |
63 // Enables suggestions with substring matching instead of prefix matching. | 63 // Enables suggestions with substring matching instead of prefix matching. |
64 const char kEnableSuggestionsWithSubstringMatch[] = | 64 const char kEnableSuggestionsWithSubstringMatch[] = |
65 "enable-suggestions-with-substring-match"; | 65 "enable-suggestions-with-substring-match"; |
66 | 66 |
67 // Enables syncing usage counts and last use dates of Wallet addresses and | |
68 // cards. | |
69 const char kEnableWalletMetadataSync[] = "enable-wallet-metadata-sync"; | |
70 | |
71 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 67 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
72 const char kIgnoreAutocompleteOffForAutofill[] = | 68 const char kIgnoreAutocompleteOffForAutofill[] = |
73 "ignore-autocomplete-off-autofill"; | 69 "ignore-autocomplete-off-autofill"; |
74 | 70 |
75 // Removes the requirement that we recieved a ping from the autofill servers | 71 // 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. | 72 // and that the user doesn't have the given form blacklisted. Used in testing. |
77 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 73 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
78 "local-heuristics-only-for-password-generation"; | 74 "local-heuristics-only-for-password-generation"; |
79 | 75 |
80 // Annotates forms with Autofill field type predictions. | 76 // Annotates forms with Autofill field type predictions. |
(...skipping 15 matching lines...) Expand all Loading... |
96 const char kDisableAccessorySuggestionView[] = | 92 const char kDisableAccessorySuggestionView[] = |
97 "disable-autofill-keyboard-accessory-view"; | 93 "disable-autofill-keyboard-accessory-view"; |
98 | 94 |
99 // Enables showing suggestions in a keyboard accessory view. | 95 // Enables showing suggestions in a keyboard accessory view. |
100 const char kEnableAccessorySuggestionView[] = | 96 const char kEnableAccessorySuggestionView[] = |
101 "enable-autofill-keyboard-accessory-view"; | 97 "enable-autofill-keyboard-accessory-view"; |
102 #endif // defined(OS_ANDROID) | 98 #endif // defined(OS_ANDROID) |
103 | 99 |
104 } // namespace switches | 100 } // namespace switches |
105 } // namespace autofill | 101 } // namespace autofill |
OLD | NEW |