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

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
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 1cbced4beb598794ccd26bf4e17c10047bcff868..685baf927ca3a6a7e862a8d433da65b57ad0ba5e 100644
--- a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
+++ b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
@@ -60,7 +60,7 @@ interface PaymentRequestClient {
// 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_code;
@@ -71,20 +71,20 @@ struct CurrencyAmount {
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 {

Powered by Google App Engine
This is Rietveld 408576698