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

Unified Diff: third_party/WebKit/public/platform/modules/payments/payment_request.mojom

Issue 2020913002: PaymentRequest: Rename ShippingAddress to PaymentAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/modules/payments/ShippingAddressTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/payments/payment_request.mojom
diff --git a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
index 829c80832729cd02f05a63a53655d47b1ccee964..3d9c88adbeec6206b11d1209a4e963a96a6fb69a 100644
--- a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
+++ b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
@@ -7,7 +7,7 @@ module blink.mojom;
// The shipping address that the browser process provides to the renderer
// process. Built either by the browser or a payment app.
-struct ShippingAddress {
+struct PaymentAddress {
// ISO 3166 country code. Two upper case ASCII letters.
string region_code;
@@ -43,12 +43,12 @@ struct PaymentResponse {
// {"nameOnCard": "Jon Doe", "pan": "4111 1111 1111 1111"}
string stringified_details;
- ShippingAddress? shipping_address;
+ PaymentAddress? shipping_address;
string? shipping_option_id;
};
interface PaymentRequestClient {
- OnShippingAddressChange(ShippingAddress address);
+ OnShippingAddressChange(PaymentAddress address);
OnShippingOptionChange(string shipping_option_id);
OnPaymentResponse(PaymentResponse response);
OnError();
« no previous file with comments | « third_party/WebKit/Source/modules/payments/ShippingAddressTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698