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

Unified Diff: components/autofill/core/browser/phone_number.h

Issue 2110563002: Use AutofillProfileComparator in place of ad-hoc merge logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge
Patch Set: Rebase Created 4 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/browser/phone_number.h
diff --git a/components/autofill/core/browser/phone_number.h b/components/autofill/core/browser/phone_number.h
index 8d50d479a364b0fccb90e791caa0df6ab44af761..333bbae909a17f67ab63e7553d89884141e26924 100644
--- a/components/autofill/core/browser/phone_number.h
+++ b/components/autofill/core/browser/phone_number.h
@@ -26,6 +26,8 @@ class PhoneNumber : public FormGroup {
~PhoneNumber() override;
PhoneNumber& operator=(const PhoneNumber& number);
+ bool operator==(const PhoneNumber& other) const;
+ bool operator!=(const PhoneNumber& other) const { return !operator==(other); }
void set_profile(AutofillProfile* profile) { profile_ = profile; }
« no previous file with comments | « components/autofill/core/browser/personal_data_manager_unittest.cc ('k') | components/autofill/core/browser/phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698