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

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: arrays... 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
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..d45415d0765a551e9c5fb18705bd6e0268f7c522 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -586,6 +586,9 @@ class AutofillManager : public AutofillDownloadManager::Observer,
AutocompleteSuggestions_NoneWhenAutofillPresent);
FRIEND_TEST_ALL_PREFIXES(
AutofillManagerTest,
+ AutocompleteSuggestions_CreditCardFieldShouldNotAutocomplete);
+ FRIEND_TEST_ALL_PREFIXES(
+ AutofillManagerTest,
AutocompleteSuggestions_AutofillDisabledAndFieldShouldNotAutocomplete);
FRIEND_TEST_ALL_PREFIXES(
AutofillManagerTest,

Powered by Google App Engine
This is Rietveld 408576698