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

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

Issue 18563002: Move SendAutofillTypePredictions() into AutofillDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 7 years, 6 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/common/form_field_data_predictions.h
diff --git a/components/autofill/core/common/form_field_data_predictions.h b/components/autofill/core/common/form_field_data_predictions.h
index f8300921fbc72bcb8c219b661a57e33c74c4955b..86f8bdaccdfe2298611001e85da1c3670017ed1e 100644
--- a/components/autofill/core/common/form_field_data_predictions.h
+++ b/components/autofill/core/common/form_field_data_predictions.h
@@ -23,6 +23,10 @@ struct FormFieldDataPredictions {
std::string heuristic_type;
std::string server_type;
std::string overall_type;
+
+ // Added for the sake of testing.
+ bool operator==(const FormFieldDataPredictions& predictions) const;
+ bool operator!=(const FormFieldDataPredictions& predictions) const;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698