Index: components/autofill/core/browser/autofill_profile.h |
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h |
index f96628a5f92fd5293bbe0984c3faf3e61ec8a53e..30358bc72042e9278c2ef3b7bcde7ae696fd07f0 100644 |
--- a/components/autofill/core/browser/autofill_profile.h |
+++ b/components/autofill/core/browser/autofill_profile.h |
@@ -114,8 +114,9 @@ class AutofillProfile : public AutofillDataModel { |
const std::string& app_locale, |
const ServerFieldTypeSet& types) const; |
- // Overwrites the field data in |profile| with this Profile. |
- void OverwriteWith(const AutofillProfile& profile, |
+ // Overwrites the field data in |profile| with this Profile. Returns |true| if |
+ // at least one field was overwritten. |
+ bool OverwriteWith(const AutofillProfile& profile, |
const std::string& app_locale); |
// Saves info from |profile| into |this|, provided |this| and |profile| do not |