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

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

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.mm
diff --git a/ios/chrome/browser/payments/js_payment_request_manager.mm b/ios/chrome/browser/payments/js_payment_request_manager.mm
index 5a19c915a88f92bebe2265abca9ecea7c84cb961..e00b31ffa2beaf134b60a57d090ed8bfaa30bbb5 100644
--- a/ios/chrome/browser/payments/js_payment_request_manager.mm
+++ b/ios/chrome/browser/payments/js_payment_request_manager.mm
@@ -8,6 +8,7 @@
#include "base/json/string_escape.h"
#include "base/strings/sys_string_conversions.h"
#include "base/values.h"
+#include "components/payments/core/payment_address.h"
#include "ios/web/public/payments/payment_request.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -79,7 +80,7 @@ NSString* JSONEscape(NSString* JSON) {
[self executeScript:script completionHandler:completionHandler];
}
-- (void)updateShippingAddress:(const web::PaymentAddress&)shippingAddress
+- (void)updateShippingAddress:(const payments::PaymentAddress&)shippingAddress
completionHandler:(ProceduralBlockWithBool)completionHanlder {
std::unique_ptr<base::DictionaryValue> shippingAddressData =
shippingAddress.ToDictionaryValue();
« no previous file with comments | « ios/chrome/browser/payments/js_payment_request_manager.h ('k') | ios/chrome/browser/payments/payment_request_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698