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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "bindings/modules/v8/ModuleBindingsInitializer.h" 5 #include "bindings/modules/v8/ModuleBindingsInitializer.h"
6 6
7 #include "bindings/core/v8/V8PerIsolateData.h" 7 #include "bindings/core/v8/V8PerIsolateData.h"
8 #include "bindings/modules/v8/ConditionalFeaturesForModules.h" 8 #include "bindings/modules/v8/ConditionalFeaturesForModules.h"
9 #include "bindings/modules/v8/SerializedScriptValueForModulesFactory.h" 9 #include "bindings/modules/v8/SerializedScriptValueForModulesFactory.h"
10 #include "bindings/modules/v8/wasm/WasmResponseExtensions.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 // initPartialInterfacesInModules is generated by 14 // initPartialInterfacesInModules is generated by
14 // generate_init_partial_interfaces.py. 15 // generate_init_partial_interfaces.py.
15 void initPartialInterfacesInModules(); 16 void initPartialInterfacesInModules();
16 17
17 void ModuleBindingsInitializer::init() { 18 void ModuleBindingsInitializer::init() {
18 registerInstallConditionalFeaturesForModules(); 19 registerInstallConditionalFeaturesForModules();
19 initPartialInterfacesInModules(); 20 initPartialInterfacesInModules();
20 SerializedScriptValueFactory::initialize( 21 SerializedScriptValueFactory::initialize(
21 new SerializedScriptValueForModulesFactory); 22 new SerializedScriptValueForModulesFactory);
23 WasmResponseExtensions::initialize(V8PerIsolateData::mainThreadIsolate());
22 } 24 }
23 25
24 } // namespace blink 26 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698