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 |