Index: third_party/WebKit/Source/bindings/modules/v8/wasm/WasmResponseExtensions.h |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/wasm/WasmResponseExtensions.h b/third_party/WebKit/Source/bindings/modules/v8/wasm/WasmResponseExtensions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c465c10aadfa12c90cb8c2b354599a1dfa2fc4a6 |
--- /dev/null |
+++ b/third_party/WebKit/Source/bindings/modules/v8/wasm/WasmResponseExtensions.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WasmResponseExtensions_h |
+#define WasmResponseExtensions_h |
+ |
+#include "modules/ModulesExport.h" |
+#include "v8/include/v8.h" |
+#include "wtf/Allocator.h" |
+ |
+namespace blink { |
+ |
+// Injects Web Platform - specific overloads for WebAssembly APIs. |
+// See https://github.com/WebAssembly/design/blob/master/Web.md |
+class MODULES_EXPORT WasmResponseExtensions { |
+ STATIC_ONLY(WasmResponseExtensions); |
+ |
+ public: |
+ static void initialize(v8::Isolate*); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WasmResponseextensions_h |