Index: chrome/browser/autofill/autofill_profile.h |
=================================================================== |
--- chrome/browser/autofill/autofill_profile.h (revision 36778) |
+++ chrome/browser/autofill/autofill_profile.h (working copy) |
@@ -53,6 +53,7 @@ |
void operator=(const AutoFillProfile&); |
// Used by tests. |
+ // TODO(jhawkins): Move these to private and add the test as a friend. |
bool operator==(const AutoFillProfile& profile) const; |
void set_label(const string16& label) { label_ = label; } |
void set_unique_id(int id) { unique_id_ = id; } |
@@ -75,4 +76,7 @@ |
FormGroupMap personal_info_; |
}; |
+// So we can compare AutoFillProfiles with EXPECT_EQ(). |
+std::ostream& operator<<(std::ostream& os, const AutoFillProfile& profile); |
+ |
#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ |