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

Unified Diff: ios/chrome/browser/ui/payments/address_edit_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/address_edit_mediator.h
diff --git a/ios/chrome/browser/ui/payments/address_edit_mediator.h b/ios/chrome/browser/ui/payments/address_edit_mediator.h
index 84cad803aa0d626fd81ffd6adf56e73324703d50..1c41d9db86caa884424a08ffb32affcbc847a7bc 100644
--- a/ios/chrome/browser/ui/payments/address_edit_mediator.h
+++ b/ios/chrome/browser/ui/payments/address_edit_mediator.h
@@ -8,13 +8,16 @@
#import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h"
#import "ios/chrome/browser/ui/payments/region_data_loader.h"
-class PaymentRequest;
@protocol PaymentRequestEditConsumer;
namespace autofill {
class AutofillProfile;
} // namespace autofill
+namespace payments {
+class PaymentRequest;
+} // namespace payments
+
// Serves as data source for AddressEditViewController.
@interface AddressEditMediator
: NSObject<PaymentRequestEditViewControllerDataSource,
@@ -34,7 +37,7 @@ class AutofillProfile;
// of web::PaymentRequest as provided by the page invoking the Payment Request
// API as well as |address| which is the address to be edited, if any.
// This object will not take ownership of |paymentRequest| or |address|.
-- (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest
+- (instancetype)initWithPaymentRequest:(payments::PaymentRequest*)paymentRequest
address:(autofill::AutofillProfile*)address
NS_DESIGNATED_INITIALIZER;

Powered by Google App Engine
This is Rietveld 408576698