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

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

Issue 853523004: Autofill: Set requirements for number of recognized fields in an autofillable form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More relaxed check for form tag Created 5 years, 11 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/credit_card_field.h
diff --git a/components/autofill/core/browser/credit_card_field.h b/components/autofill/core/browser/credit_card_field.h
index 3dc62fac34e2d0adb86e97ab0bc4887cd3d5b093..9d0e91e66c48e7503b670aa338e26b5192820bc7 100644
--- a/components/autofill/core/browser/credit_card_field.h
+++ b/components/autofill/core/browser/credit_card_field.h
@@ -27,6 +27,7 @@ class CreditCardField : public FormField {
protected:
// FormField:
bool ClassifyField(ServerFieldTypeMap* map) const override;
+ size_t FieldCount() const override;
private:
friend class CreditCardFieldTest;

Powered by Google App Engine
This is Rietveld 408576698