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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 1920863006: [Autofill] Do not show Autocomplete suggestions for credit card fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no autocomplete on cc number, exp or cvc Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index 3586d3b20eb9f805cdff7ad2d1e6328efe75bb9d..a7ca8013e0e91b63292eb7a2e48e9b322b455ead 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -586,6 +586,12 @@ class AutofillManager : public AutofillDownloadManager::Observer,
AutocompleteSuggestions_NoneWhenAutofillPresent);
FRIEND_TEST_ALL_PREFIXES(
AutofillManagerTest,
+ AutocompleteSuggestions_CreditCardNameFieldShouldAutocomplete);
+ FRIEND_TEST_ALL_PREFIXES(
+ AutofillManagerTest,
+ AutocompleteSuggestions_CreditCardNumberShouldNotAutocomplete);
+ FRIEND_TEST_ALL_PREFIXES(
+ AutofillManagerTest,
AutocompleteSuggestions_AutofillDisabledAndFieldShouldNotAutocomplete);
FRIEND_TEST_ALL_PREFIXES(
AutofillManagerTest,
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698