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

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

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.cc
diff --git a/components/payments/content/payment_request_state.cc b/components/payments/content/payment_request_state.cc
index dac01e502e008834766e507a7e9e6347f52ff3b6..831449b037245d346a5e448ecca7778e9dd47578 100644
--- a/components/payments/content/payment_request_state.cc
+++ b/components/payments/content/payment_request_state.cc
@@ -88,6 +88,10 @@ bool PaymentRequestState::AreRequestedMethodsSupported() const {
return !spec_->supported_card_networks().empty();
}
+std::string PaymentRequestState::GetAuthenticatedEmail() const {
+ return payment_request_delegate_->GetAuthenticatedEmail();
+}
+
void PaymentRequestState::AddObserver(Observer* observer) {
CHECK(observer);
observers_.AddObserver(observer);
« no previous file with comments | « components/payments/content/payment_request_state.h ('k') | components/payments/content/payment_response_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698