diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-24 08:32:55 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-24 08:32:55 +0000 |
commit | 2609bc107a31083c6c88e207d13eaa029d594235 (patch) | |
tree | 8331e468eb82a2a9611f388349da4f3565ee3201 /chrome/browser/autofill/autofill_profile.h | |
parent | 51552aae65a96d19e1adcbf6fe760f102b53a8bf (diff) | |
download | chromium_src-2609bc107a31083c6c88e207d13eaa029d594235.zip chromium_src-2609bc107a31083c6c88e207d13eaa029d594235.tar.gz chromium_src-2609bc107a31083c6c88e207d13eaa029d594235.tar.bz2 |
Add the ability to save and remove AutoFill profiles from the AutoFillDialog.
BUG=18201
TEST=PersonalDataManagerTest.SetProfiles
Review URL: http://codereview.chromium.org/545175
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36978 0039d316-1c4b-4281-b951-d872f2087c98
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_ |