|
Worker: Remove WorkerLoaderProxy for clean-up
For clean-up, this CL removes WorkerLoaderProxy and makes worker components
directly use ThreadableLoadingContext instead.
Before this CL WorkerLoaderProxy is used for conveying ThreadableLoadingContext
between main and worker threads, but it's no longer necessary: we can directly
pass ThreadableLoadingContext among the threads. One of the key features of
WorkerLoaderProxy was to detect worker termination on the main thread
(DetatchProvider()), but we already have a more proper way to do it
(WorkerThreadLifecycleObserver) and it's already used for loading.
BUG= 694914
Review-Url: https://codereview.chromium.org/2840473002
Cr-Commit-Position: refs/heads/master@{#475308}
Committed: https://chromium.googlesource.com/chromium/src/+/3e327942abfd83502aa17cc59acefa6e30c91d0e
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -379 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
View
|
1
2
|
6 chunks |
+3 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h
|
View
|
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp
|
View
|
|
6 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp
|
View
|
1
2
3
|
4 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/DedicatedWorkerThread.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/SharedWorkerThread.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
|
View
|
|
5 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
|
View
|
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp
|
View
|
1
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h
|
View
|
|
1 chunk |
+0 lines, -96 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThread.h
|
View
|
1
2
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
View
|
1
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
|
View
|
1
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp
|
View
|
1
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
View
|
1
2
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioWorkletMessagingProxy.cpp
|
View
|
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h
|
View
|
3
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.cpp
|
View
|
1
3
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadTest.cpp
|
View
|
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
|
View
|
1
2
|
5 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
View
|
|
6 chunks |
+13 lines, -20 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
|
View
|
1
|
4 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
View
|
1
2
|
4 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSharedWorkerImpl.h
|
View
|
1
|
4 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
View
|
1
2
3
|
4 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
Total messages: 47 (30 generated)
|