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

Unified Diff: components/payments/payment_request_delegate.h

Issue 2621153002: [WebPayments] Add the Payment Method section in the Payment Sheet (Closed)
Patch Set: Fix BUILD.gn deps. Created 3 years, 11 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
« no previous file with comments | « components/payments/payment_request.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/payment_request_delegate.h
diff --git a/components/payments/payment_request_delegate.h b/components/payments/payment_request_delegate.h
index 7854f699726b1151dc2d18211ccc47b66b58f094..9e666541661438920e093ad9113b706c373009cc 100644
--- a/components/payments/payment_request_delegate.h
+++ b/components/payments/payment_request_delegate.h
@@ -5,6 +5,10 @@
#ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
#define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
+namespace autofill {
+class PersonalDataManager;
+}
+
namespace payments {
class PaymentRequest;
@@ -15,6 +19,9 @@ class PaymentRequestDelegate {
// Shows the Payment Request dialog for the given |request|.
virtual void ShowPaymentRequestDialog(PaymentRequest* request) = 0;
+
+ // Gets the PersonalDataManager associated with this PaymentRequest flow.
+ virtual autofill::PersonalDataManager* GetPersonalDataManager() = 0;
};
} // namespace payments
« no previous file with comments | « components/payments/payment_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698