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

Unified Diff: chrome/browser/ui/views/payments/editor_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/editor_view_controller.h
diff --git a/chrome/browser/ui/views/payments/editor_view_controller.h b/chrome/browser/ui/views/payments/editor_view_controller.h
index afc14a338dca50f0fa4775539c24d55ed0dfbfb1..9cabb679721442f8b6fa2f36e700948e05392ce6 100644
--- a/chrome/browser/ui/views/payments/editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/editor_view_controller.h
@@ -36,7 +36,8 @@ class View;
namespace payments {
-class PaymentRequest;
+class PaymentRequestSpec;
+class PaymentRequestState;
class PaymentRequestDialogView;
class ValidatingCombobox;
class ValidatingTextfield;
@@ -89,7 +90,8 @@ class EditorViewController : public PaymentRequestSheetController,
std::map<const EditorField, views::Label*, EditorField::Compare>;
// Does not take ownership of the arguments, which should outlive this object.
- EditorViewController(PaymentRequest* request,
+ EditorViewController(PaymentRequestSpec* spec,
+ PaymentRequestState* state,
PaymentRequestDialogView* dialog);
~EditorViewController() override;

Powered by Google App Engine
This is Rietveld 408576698