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

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

Issue 2056803002: Rename remaining types so that all begin Payment* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename remaining types so that all begin Payment* Created 4 years, 6 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/ShippingOption.idl ('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 0f07092c69b35c8d7ce7efac3d8f0ec7b9d9d707..c6dd6faaec9df85e467530a9e3caacdfbd05dfff 100644
--- a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
+++ b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
@@ -35,7 +35,7 @@ struct PaymentAddress {
// The currency amount that the renderer provides to the browser process. The
// browser shows the amount in UI and forwards it on to the payment app, if it
// requires the amount.
-struct CurrencyAmount {
+struct PaymentCurrencyAmount {
// ISO 4217 currency code. Three upper case ASCII letters.
string currency;
@@ -46,7 +46,7 @@ struct CurrencyAmount {
struct PaymentResponse {
string method_name;
- CurrencyAmount total_amount;
+ PaymentCurrencyAmount total_amount;
// Payment method specific JSON string that is built either by the browser or
// a payment app, for example Android Pay. Browser ensures that the string can
@@ -75,20 +75,20 @@ interface PaymentRequestClient {
struct PaymentItem {
string label;
- CurrencyAmount amount;
+ PaymentCurrencyAmount amount;
};
-struct ShippingOption {
+struct PaymentShippingOption {
string id;
string label;
- CurrencyAmount amount;
+ PaymentCurrencyAmount amount;
bool selected;
};
struct PaymentDetails {
PaymentItem total;
array<PaymentItem> display_items;
- array<ShippingOption> shipping_options;
+ array<PaymentShippingOption> shipping_options;
};
struct PaymentOptions {
« no previous file with comments | « third_party/WebKit/Source/modules/payments/ShippingOption.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698