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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h

Issue 2898223002: PaymentHandler: Rename PaymentAppRequest with PaymentRequestEventData. (Closed)
Patch Set: Rename Created 3 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
Index: third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
similarity index 38%
rename from third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h
rename to third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
index 80b3c36060133897d0b9f6d64b942855e16cf720..d142b2ff7d4b325592c0663804488719a5ff27f1 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
@@ -2,25 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PaymentAppRequestConversion_h
-#define PaymentAppRequestConversion_h
+#ifndef PaymentRequestEventDataConversion_h
+#define PaymentRequestEventDataConversion_h
-#include "modules/payments/PaymentAppRequest.h"
+#include "modules/payments/PaymentRequestEventInit.h"
#include "platform/wtf/Allocator.h"
namespace blink {
class ScriptState;
-struct WebPaymentAppRequest;
+struct WebPaymentRequestEventData;
-class MODULES_EXPORT PaymentAppRequestConversion {
- STATIC_ONLY(PaymentAppRequestConversion);
+class MODULES_EXPORT PaymentRequestEventDataConversion {
+ STATIC_ONLY(PaymentRequestEventDataConversion);
public:
- static PaymentAppRequest ToPaymentAppRequest(ScriptState*,
- const WebPaymentAppRequest&);
+ static PaymentRequestEventInit ToPaymentRequestEventInit(
+ ScriptState*,
+ const WebPaymentRequestEventData&);
};
} // namespace blink
-#endif // PaymentAppRequestConversion_h
+#endif // PaymentRequestEventDataConversion_h

Powered by Google App Engine
This is Rietveld 408576698