| 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..a54e88e9deea6794412218e49df30d2b587c442a 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 content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| namespace ukm {
|
| class UkmService;
|
| } // namespace ukm
|
| @@ -74,6 +78,17 @@ 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;
|
| +
|
| + // Returns the BrowserContext associated with this PaymentRequest.
|
| + virtual content::BrowserContext* GetBrowserContext() = 0;
|
| +
|
| + // Sets the profile pref that represents the first ever transaction being
|
| + // completed to true.
|
| + virtual void MarkFirstTransactionAsCompleted() = 0;
|
| };
|
|
|
| } // namespace payments
|
|
|