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

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

Issue 1130773004: mac: Add histograms to measure impact of Address Book integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from isherman, round four. Created 5 years, 7 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index c0696cf5afa5f2489e89a9d27ca704fe63a1aa9c..90b645ce1c8670b87dc58a99c29cf775ff7be704 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -356,6 +356,12 @@ class AutofillManager : public AutofillDownloadManager::Observer,
// Shared code to determine if |form| should be uploaded.
bool ShouldUploadForm(const FormStructure& form);
+#if defined(OS_MACOSX) && !defined(OS_IOS)
+ // Emits a UMA metric indicating whether the accepting Autofill suggestion is
Ilya Sherman 2015/05/19 21:53:43 nit: "accepting" -> "accepted"
erikchen 2015/05/19 22:33:02 Done.
+ // from the Mac Address Book.
+ void EmitIsFromAddressBookMetric(int unique_id);
+#endif // defined(OS_MACOSX) && !defined(OS_IOS)
+
// Provides driver-level context to the shared code of the component. Must
// outlive this object.
AutofillDriver* driver_;
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698