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 f85997984765f75ebc3adc4069e8ccef35dcfe39..3953493b9e95bad9339040e2080991e96d2ccb91 100644 |
--- a/components/payments/core/payment_request_delegate.h |
+++ b/components/payments/core/payment_request_delegate.h |
@@ -74,6 +74,14 @@ class PaymentRequestDelegate { |
// Returns a pointer to the UKM service. |
virtual ukm::UkmService* GetUkmService() = 0; |
+ |
+ // Returns the user's signed-in email address, or empty string if not signed |
+ // in. |
+ virtual std::string GetAuthenticatedEmail() const = 0; |
+ |
+ // Gets the pref service for the browser context associated with this |
+ // PaymentRequest. |
+ virtual PrefService* GetPrefService() = 0; |
Mathieu
2017/05/11 13:47:55
does this just work without fwd-declaring PrefServ
anthonyvd
2017/05/11 17:46:28
It does but probably only by pure luck. Added the
|
}; |
} // namespace payments |