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

Unified Diff: components/autofill/core/common/form_data.h

Issue 2745803003: autofill-try
Patch Set: autofill-try Created 3 years, 7 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 | « components/autofill/core/browser/autofill_provider.cc ('k') | components/autofill/core/common/form_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/form_data.h
diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h
index a4397fc2a2348e15be10c35e0663d27dd9fc8b05..5e5a42936f1fd8fd090a70b114649c21c00a9174 100644
--- a/components/autofill/core/common/form_data.h
+++ b/components/autofill/core/common/form_data.h
@@ -23,6 +23,10 @@ struct FormData {
// form elements.
bool SameFormAs(const FormData& other) const;
+ // Same as SameFormAs() except calling FormFieldData.SimilarFieldAs() to
+ // compare fields.
+ bool SimilarFormAs(const FormData& other) const;
+
// Note: operator==() performs a full-field-comparison(byte by byte), this is
// different from SameFormAs(), which ignores comparison for those "values" of
// all form fields, just like what FormFieldData::SameFieldAs() ignores.
« no previous file with comments | « components/autofill/core/browser/autofill_provider.cc ('k') | components/autofill/core/common/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698