Index: third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d142b2ff7d4b325592c0663804488719a5ff27f1 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
please use gerrit instead
2017/06/02 17:05:04
Either mark this 2017 or tune --similarity paramet
zino
2017/06/02 17:23:48
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PaymentRequestEventDataConversion_h |
+#define PaymentRequestEventDataConversion_h |
+ |
+#include "modules/payments/PaymentRequestEventInit.h" |
+#include "platform/wtf/Allocator.h" |
+ |
+namespace blink { |
+ |
+class ScriptState; |
+struct WebPaymentRequestEventData; |
+ |
+class MODULES_EXPORT PaymentRequestEventDataConversion { |
+ STATIC_ONLY(PaymentRequestEventDataConversion); |
+ |
+ public: |
+ static PaymentRequestEventInit ToPaymentRequestEventInit( |
+ ScriptState*, |
+ const WebPaymentRequestEventData&); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // PaymentRequestEventDataConversion_h |