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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/wasm/WasmResponseExtensions.h

Issue 2780693003: [wasm] response-based compile APIs (Closed)
Patch Set: simplify Created 3 years, 8 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/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

Powered by Google App Engine
This is Rietveld 408576698