Index: components/autofill/core/browser/autofill_client.h |
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h |
index 3960f44fdbb46f27f86e410fc7309cd65b55049a..d36f0026ffca6da8b3f830375f1be2af3514a457 100644 |
--- a/components/autofill/core/browser/autofill_client.h |
+++ b/components/autofill/core/browser/autofill_client.h |
@@ -36,6 +36,10 @@ namespace syncer { |
class SyncService; |
} |
+namespace ukm { |
+class UkmService; |
+} |
+ |
namespace autofill { |
class AutofillPopupDelegate; |
@@ -105,6 +109,9 @@ class AutofillClient { |
// Gets the RapporServiceImpl associated with the client (for metrics). |
virtual rappor::RapporServiceImpl* GetRapporServiceImpl() = 0; |
+ // Gets the UKM service assiciated with this client (for metrics). |
+ virtual ukm::UkmService* GetUkmService() = 0; |
+ |
// Causes the Autofill settings UI to be shown. |
virtual void ShowAutofillSettings() = 0; |