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

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

Issue 1392623002: [Autofill] Add metric for profile action on form submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/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

Powered by Google App Engine
This is Rietveld 408576698