diff options
Diffstat (limited to 'chrome/browser/autofill/autofill_profile.h')
-rw-r--r-- | chrome/browser/autofill/autofill_profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h index a6ed0d3..acc7527 100644 --- a/chrome/browser/autofill/autofill_profile.h +++ b/chrome/browser/autofill/autofill_profile.h @@ -53,6 +53,7 @@ class AutoFillProfile : public FormGroup { 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 @@ class AutoFillProfile : public FormGroup { 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_ |