Index: components/autofill/core/browser/autofill_profile_comparator.h |
diff --git a/components/autofill/core/browser/autofill_profile_comparator.h b/components/autofill/core/browser/autofill_profile_comparator.h |
index d594dec3f62220120376703d98e6c7c8f8fb903c..0821db89742d349f381bd9d7e41a68b034bd2ac4 100644 |
--- a/components/autofill/core/browser/autofill_profile_comparator.h |
+++ b/components/autofill/core/browser/autofill_profile_comparator.h |
@@ -200,6 +200,12 @@ |
bool HaveMergeableAddresses(const AutofillProfile& p1, |
const AutofillProfile& p2) const; |
+ // Returns true if |state1| and |state2| both represent the same state in |
+ // |country_code|. |
+ bool IsMatchingState(const base::string16& country_code, |
+ const base::string16& state1, |
+ const base::string16& state2) const; |
+ |
private: |
l10n::CaseInsensitiveCompare case_insensitive_compare_; |
std::unique_ptr<icu::Transliterator> transliterator_; |