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

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

Issue 23857010: Revert "Revert 223907 "[password generation] Upload possible account cre..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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_data.h
diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h
index 1d6dffae2d8aa578f62d08c852c332263c816b4c..b41619c539048c5bf90caa2876876b084ced8b34 100644
--- a/components/autofill/core/common/form_data.h
+++ b/components/autofill/core/common/form_data.h
@@ -19,7 +19,7 @@ struct FormData {
FormData(const FormData& data);
~FormData();
- // Used by FormStructureTest.
+ // Used in testing.
bool operator==(const FormData& form) const;
bool operator!=(const FormData& form) const;
@@ -37,6 +37,9 @@ struct FormData {
std::vector<FormFieldData> fields;
};
+// For testing.
+std::ostream& operator<<(std::ostream& os, const FormData& form);
+
// Serialize FormData. Used by the PasswordManager to persist FormData
// pertaining to password forms. Serialized data is appended to |pickle|
void SerializeFormData(const FormData& form_data, Pickle* pickle);
« no previous file with comments | « components/autofill/core/common/autofill_param_traits_macros.h ('k') | components/autofill/core/common/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698