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

Unified Diff: chrome/browser/ui/views/payments/payment_sheet_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_sheet_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
index ca1d41ec2857891a025fcd4e6ea0c017ae3b778a..2458082225d97e3b584a338fea912d97b7629faf 100644
--- a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
@@ -9,12 +9,12 @@
#include "base/macros.h"
#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
-#include "components/payments/content/payment_request.h"
#include "components/payments/content/payment_request_state.h"
namespace payments {
-class PaymentRequest;
+class PaymentRequestSpec;
+class PaymentRequestState;
class PaymentRequestDialogView;
// The PaymentRequestSheetController subtype for the Payment Sheet screen of the
@@ -23,7 +23,8 @@ class PaymentSheetViewController : public PaymentRequestSheetController,
public PaymentRequestState::Observer {
public:
// Does not take ownership of the arguments, which should outlive this object.
- PaymentSheetViewController(PaymentRequest* request,
+ PaymentSheetViewController(PaymentRequestSpec* spec,
+ PaymentRequestState* state,
PaymentRequestDialogView* dialog);
~PaymentSheetViewController() override;

Powered by Google App Engine
This is Rietveld 408576698