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

Unified Diff: ios/chrome/browser/payments/js_payment_request_manager.h

Issue 2733953003: [Payments] Return a basic card response (Closed)
Patch Set: addressed comments from anthony 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: ios/chrome/browser/payments/js_payment_request_manager.h
diff --git a/ios/chrome/browser/payments/js_payment_request_manager.h b/ios/chrome/browser/payments/js_payment_request_manager.h
index 0fded2ce47058d1e9c88a593328e3ac2696f85f6..23dd4dfd28734c1c6ddb425d5597e611d9142253 100644
--- a/ios/chrome/browser/payments/js_payment_request_manager.h
+++ b/ios/chrome/browser/payments/js_payment_request_manager.h
@@ -9,8 +9,11 @@
#include "ios/chrome/browser/procedural_block_types.h"
#import "ios/web/public/web_state/js/crw_js_injection_manager.h"
+namespace payments {
+struct PaymentAddress;
+}
+
namespace web {
-class PaymentAddress;
class PaymentResponse;
class PaymentShippingOption;
}
@@ -52,7 +55,7 @@ class PaymentShippingOption;
// Updates the shippingAddress property on the PaymentRequest object and
// dispatches a shippingaddresschange event.
-- (void)updateShippingAddress:(const web::PaymentAddress&)shippingAddress
+- (void)updateShippingAddress:(const payments::PaymentAddress&)shippingAddress
completionHandler:(ProceduralBlockWithBool)completionHanlder;
// Updates the shippingOption property on the PaymentRequest object and

Powered by Google App Engine
This is Rietveld 408576698