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

Unified Diff: components/payments/core/payment_request_delegate.h

Issue 2851893002: [Payments] Record CanMakePayment metrics on Desktop. (Closed)
Patch Set: Windows Fix and Rebase Fix Created 3 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
Index: components/payments/core/payment_request_delegate.h
diff --git a/components/payments/core/payment_request_delegate.h b/components/payments/core/payment_request_delegate.h
index 49047f8a1d8ffe5dda2c14c49bad9a4a98ce6c1b..f85997984765f75ebc3adc4069e8ccef35dcfe39 100644
--- a/components/payments/core/payment_request_delegate.h
+++ b/components/payments/core/payment_request_delegate.h
@@ -19,6 +19,10 @@ class PersonalDataManager;
class RegionDataLoader;
} // namespace autofill
+namespace ukm {
+class UkmService;
+} // namespace ukm
+
namespace payments {
class AddressNormalizer;
@@ -67,6 +71,9 @@ class PaymentRequestDelegate {
// Creates a new region data loader that will self delete, or a test mock.
virtual autofill::RegionDataLoader* GetRegionDataLoader() = 0;
+
+ // Returns a pointer to the UKM service.
+ virtual ukm::UkmService* GetUkmService() = 0;
};
} // namespace payments
« no previous file with comments | « components/payments/core/journey_logger.cc ('k') | components/payments/core/test_payment_request_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698