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

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

Issue 2775553004: [WebPayments] Implementing Profile filter and dedupe (Closed)
Patch Set: rebasing Created 3 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/form_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/form_group.h
diff --git a/components/autofill/core/browser/form_group.h b/components/autofill/core/browser/form_group.h
index 86bd4531bb185b42115977a2bc3c6413bc59d305..c3d9cd14e2d9540326b7ef62ba6a3efe81c4a2e1 100644
--- a/components/autofill/core/browser/form_group.h
+++ b/components/autofill/core/browser/form_group.h
@@ -53,6 +53,10 @@ class FormGroup {
const base::string16& value,
const std::string& app_locale);
+ // Returns true iff the string associated with |type| is nonempty.
+ bool HasInfo(ServerFieldType type) const;
+ bool HasInfo(const AutofillType& type) const;
+
protected:
// AutofillProfile needs to call into GetSupportedTypes() for objects of
// non-AutofillProfile type, for which mere inheritance is insufficient.
« no previous file with comments | « no previous file | components/autofill/core/browser/form_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698