OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "config.h" | 5 #include "config.h" |
6 #include "core/workers/InProcessWorkerBase.h" | 6 #include "core/workers/InProcessWorkerBase.h" |
7 | 7 |
8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
9 #include "core/events/MessageEvent.h" | 9 #include "core/events/MessageEvent.h" |
10 #include "core/fetch/ResourceFetcher.h" | 10 #include "core/fetch/ResourceFetcher.h" |
11 #include "core/frame/LocalDOMWindow.h" | 11 #include "core/frame/LocalDOMWindow.h" |
12 #include "core/frame/csp/ContentSecurityPolicy.h" | 12 #include "core/frame/csp/ContentSecurityPolicy.h" |
13 #include "core/inspector/InspectorInstrumentation.h" | 13 #include "core/inspector/InspectorInstrumentation.h" |
14 #include "core/workers/WorkerGlobalScopeProxy.h" | 14 #include "core/workers/WorkerGlobalScopeProxy.h" |
| 15 #include "core/workers/WorkerScript.h" |
15 #include "core/workers/WorkerScriptLoader.h" | 16 #include "core/workers/WorkerScriptLoader.h" |
16 #include "core/workers/WorkerThread.h" | |
17 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" | 17 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" |
18 #include "wtf/MainThread.h" | 18 #include "wtf/MainThread.h" |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 | 21 |
22 InProcessWorkerBase::InProcessWorkerBase(ExecutionContext* context) | 22 InProcessWorkerBase::InProcessWorkerBase(ExecutionContext* context) |
23 : AbstractWorker(context) | 23 : AbstractWorker(context) |
24 , m_contextProxy(nullptr) | 24 , m_contextProxy(nullptr) |
25 { | 25 { |
26 } | 26 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 m_scriptLoader = nullptr; | 106 m_scriptLoader = nullptr; |
107 } | 107 } |
108 | 108 |
109 DEFINE_TRACE(InProcessWorkerBase) | 109 DEFINE_TRACE(InProcessWorkerBase) |
110 { | 110 { |
111 AbstractWorker::trace(visitor); | 111 AbstractWorker::trace(visitor); |
112 } | 112 } |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
OLD | NEW |