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_; |