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

Unified Diff: ios/chrome/browser/ui/payments/payment_request_coordinator.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_coordinator.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_coordinator.h b/ios/chrome/browser/ui/payments/payment_request_coordinator.h
index 90779d4bb39d03707cfa3730a77200ce91d5ec05..b5d860a34071391ceb59a33417845d910eff3fa6 100644
--- a/ios/chrome/browser/ui/payments/payment_request_coordinator.h
+++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.h
@@ -23,8 +23,6 @@
#import "ios/chrome/browser/ui/payments/shipping_address_selection_coordinator.h"
#import "ios/chrome/browser/ui/payments/shipping_option_selection_coordinator.h"
-class PaymentRequest;
-
namespace autofill {
class AutofillManager;
} // namespace autofill
@@ -33,6 +31,10 @@ namespace ios {
class ChromeBrowserState;
} // namespace ios
+namespace payments {
+class PaymentRequest;
+} // namespace payments
+
namespace web {
class PaymentDetails;
class PaymentShippingOption;
@@ -89,7 +91,7 @@ class PaymentShippingOption;
// The PaymentRequest object having a copy of web::PaymentRequest as provided by
// the page invoking the Payment Request API. This pointer is not owned by this
// class and should outlive it.
-@property(nonatomic, assign) PaymentRequest* paymentRequest;
+@property(nonatomic, assign) payments::PaymentRequest* paymentRequest;
// An instance of autofill::AutofillManager used for credit card unmasking. This
// reference is not owned by this class.

Powered by Google App Engine
This is Rietveld 408576698