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

Unified Diff: components/payments/content/payment_request_state.h

Issue 2876663002: [Web Payments] Add data attribution string to dialog (Closed)
Patch Set: Address comments, fix tests compile 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/content/payment_request_state.h
diff --git a/components/payments/content/payment_request_state.h b/components/payments/content/payment_request_state.h
index ece3bc084541b1d6529cf14d2d1e9949adfad888..63af7cd1278954e9b86f51a3650c874b1a171569 100644
--- a/components/payments/content/payment_request_state.h
+++ b/components/payments/content/payment_request_state.h
@@ -95,6 +95,9 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate,
// false for "https://bobpay.com".
bool AreRequestedMethodsSupported() const;
+ // Returns authenticated user email, or empty string.
+ std::string GetAuthenticatedEmail() const;
+
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
« no previous file with comments | « components/payments/content/payment_request.cc ('k') | components/payments/content/payment_request_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698