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

Unified Diff: third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequest.h

Issue 2665583002: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. (Closed)
Patch Set: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. Created 3 years, 11 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/WebPaymentAppRequest.h
diff --git a/third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequestData.h b/third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequest.h
similarity index 75%
rename from third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequestData.h
rename to third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequest.h
index 4f347ab587308f591509b48a68c871bd905a4e3f..b650effffa3caf7362498796735edebddfb9a92b 100644
--- a/third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequestData.h
+++ b/third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequest.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebPaymentAppRequestData_h
-#define WebPaymentAppRequestData_h
+#ifndef WebPaymentAppRequest_h
+#define WebPaymentAppRequest_h
#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
@@ -13,8 +13,8 @@
namespace blink {
-// https://w3c.github.io/webpayments-payment-apps-api/#sec-app-request-data
-struct WebPaymentAppRequestData {
+// https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentapprequest
+struct WebPaymentAppRequest {
WebString origin;
WebVector<WebPaymentMethodData> methodData;
WebPaymentItem total;
@@ -24,4 +24,4 @@ struct WebPaymentAppRequestData {
} // namespace blink
-#endif // WebPaymentAppRequestData_h
+#endif // WebPaymentAppRequest_h
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/modules/payments/WebPaymentAppRequestData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698