| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WasmResponseExtensions_h | 5 #ifndef WasmResponseExtensions_h |
| 6 #define WasmResponseExtensions_h | 6 #define WasmResponseExtensions_h |
| 7 | 7 |
| 8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/wtf/Allocator.h" |
| 9 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
| 10 #include "wtf/Allocator.h" | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // Injects Web Platform - specific overloads for WebAssembly APIs. | 14 // Injects Web Platform - specific overloads for WebAssembly APIs. |
| 15 // See https://github.com/WebAssembly/design/blob/master/Web.md | 15 // See https://github.com/WebAssembly/design/blob/master/Web.md |
| 16 class MODULES_EXPORT WasmResponseExtensions { | 16 class MODULES_EXPORT WasmResponseExtensions { |
| 17 STATIC_ONLY(WasmResponseExtensions); | 17 STATIC_ONLY(WasmResponseExtensions); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static void Initialize(v8::Isolate*); | 20 static void Initialize(v8::Isolate*); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace blink | 23 } // namespace blink |
| 24 | 24 |
| 25 #endif // WasmResponseextensions_h | 25 #endif // WasmResponseextensions_h |
| OLD | NEW |