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

Unified Diff: ios/chrome/browser/ui/payments/payment_request_mediator.h

Issue 2965073002: [Payment Request] Moves PaymentRequest into the payments namespace (Closed)
Patch Set: rebase Created 3 years, 5 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: ios/chrome/browser/ui/payments/payment_request_mediator.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_mediator.h b/ios/chrome/browser/ui/payments/payment_request_mediator.h
index fc56af2f20f4fcdecc99003d9349c952c51fcf1c..dc9cfdeda293906f46cf115809fd20610db9a98d 100644
--- a/ios/chrome/browser/ui/payments/payment_request_mediator.h
+++ b/ios/chrome/browser/ui/payments/payment_request_mediator.h
@@ -7,7 +7,9 @@
#import "ios/chrome/browser/ui/payments/payment_request_view_controller_data_source.h"
+namespace payments {
class PaymentRequest;
+} // namespace payments
// A mediator object that provides data for a PaymentRequestViewController.
@interface PaymentRequestMediator
@@ -19,7 +21,7 @@ class PaymentRequest;
// Initializes this object with an instance of PaymentRequest which has a copy
// of web::PaymentRequest as provided by the page invoking the Payment Request
// API. This object will not take ownership of |paymentRequest|.
-- (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest
+- (instancetype)initWithPaymentRequest:(payments::PaymentRequest*)paymentRequest
NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
« no previous file with comments | « ios/chrome/browser/ui/payments/payment_request_manager.mm ('k') | ios/chrome/browser/ui/payments/payment_request_mediator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698