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

Unified Diff: chrome/browser/ui/views/payments/payment_method_view_controller.h

Issue 2748133004: [Payments] View controllers no longer have access to PaymentRequest (Closed)
Patch Set: Initial 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: chrome/browser/ui/views/payments/payment_method_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller.h b/chrome/browser/ui/views/payments/payment_method_view_controller.h
index b9f101bdbe6000f2644077f93bbcba82a2877d17..d5c14221ccb6b331c04833d4901b0c89a4bb3954 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller.h
@@ -11,7 +11,8 @@
namespace payments {
-class PaymentRequest;
+class PaymentRequestSpec;
+class PaymentRequestState;
class PaymentRequestDialogView;
// The PaymentRequestSheetController subtype for the Payment Method screen of
@@ -19,7 +20,8 @@ class PaymentRequestDialogView;
class PaymentMethodViewController : public PaymentRequestSheetController {
public:
// Does not take ownership of the arguments, which should outlive this object.
- PaymentMethodViewController(PaymentRequest* request,
+ PaymentMethodViewController(PaymentRequestSpec* spec,
+ PaymentRequestState* state,
PaymentRequestDialogView* dialog);
~PaymentMethodViewController() override;

Powered by Google App Engine
This is Rietveld 408576698