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

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

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: Created 3 years, 9 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 11dc00f84151019a48596d36ec5f9d8dfc9eb3d8..ac8abd961076ff91f7b4c36f10718a2df673689b 100644
--- a/components/payments/content/payment_request_state.h
+++ b/components/payments/content/payment_request_state.h
@@ -21,6 +21,7 @@ class PersonalDataManager;
namespace payments {
class PaymentRequestSpec;
+class PaymentRequestDelegate;
// Keeps track of the information currently selected by the user and whether the
// user is ready to pay. Uses information from the PaymentRequestSpec, which is
@@ -45,6 +46,7 @@ class PaymentRequestState : public PaymentInstrument::Delegate {
// Called when the PaymentResponse is available.
virtual void OnPaymentResponseAvailable(
mojom::PaymentResponsePtr response) = 0;
+ virtual PaymentRequestDelegate* GetPaymentRequestDelegate() = 0;
protected:
virtual ~Delegate() {}

Powered by Google App Engine
This is Rietveld 408576698