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

Unified Diff: ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm

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/credit_card_edit_mediator.mm
diff --git a/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm b/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm
index b03947ddd9912a215b1350d3acdcb04363e042bb..6d6c970dc006b4adce3060868130b08e1e7881c3 100644
--- a/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm
+++ b/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm
@@ -39,7 +39,7 @@ using ::payment_request_util::GetBillingAddressLabelFromAutofillProfile;
// The PaymentRequest object owning an instance of web::PaymentRequest as
// provided by the page invoking the Payment Request API. This is a weak
// pointer and should outlive this class.
-@property(nonatomic, assign) PaymentRequest* paymentRequest;
+@property(nonatomic, assign) payments::PaymentRequest* paymentRequest;
// The credit card to be edited, if any. This pointer is not owned by this class
// and should outlive it.
@@ -68,7 +68,7 @@ using ::payment_request_util::GetBillingAddressLabelFromAutofillProfile;
@synthesize fieldsMap = _fieldsMap;
@synthesize creditCardExpDateField = _creditCardExpDateField;
-- (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest
+- (instancetype)initWithPaymentRequest:(payments::PaymentRequest*)paymentRequest
creditCard:(autofill::CreditCard*)creditCard {
self = [super init];
if (self) {

Powered by Google App Engine
This is Rietveld 408576698