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

Issue 2811993007: Worker: Remove cross-thread PostTask functions from WorkerLoaderProxy (Closed)

Created:
3 years, 8 months ago by nhiroki
Modified:
3 years, 8 months ago
Reviewers:
kinuko, haraken, yhirano
CC:
chromium-reviews, tyoshino+watch_chromium.org, yhirano+watch_chromium.org, shimazu+worker_chromium.org, haraken, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Worker: Remove cross-thread PostTask functions from WorkerLoaderProxy For cleanup, this CL replaces WorkerLoaderProxy's PostTask functions with WebTaskRunner. Following CLs will more clean up or remove WorkerLoaderProxy. BUG=694914 Review-Url: https://codereview.chromium.org/2811993007 Cr-Commit-Position: refs/heads/master@{#466300} Committed: https://chromium.googlesource.com/chromium/src/+/156f6edd319292215ac0d8a72863cf4ae6cded7e

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -285 lines) Patch
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 6 chunks +8 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 8 chunks +36 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp View 1 chunk +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp View 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp View 2 chunks +8 lines, -6 lines 1 comment Download
M third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp View 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h View 1 3 chunks +10 lines, -35 lines 2 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp View 1 chunk +0 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h View 2 chunks +4 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h View 5 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp View 14 chunks +49 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h View 3 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 2 chunks +7 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.h View 3 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 3 chunks +7 lines, -23 lines 0 comments Download

Messages

Total messages: 34 (27 generated)
nhiroki
PTAL, thanks!
3 years, 8 months ago (2017-04-21 05:37:55 UTC) #18
kinuko
lgtm https://codereview.chromium.org/2811993007/diff/80001/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h File third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h (right): https://codereview.chromium.org/2811993007/diff/80001/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h#newcode49 third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h:49: // WorkerLoaderProxy object have been dropped. This is ...
3 years, 8 months ago (2017-04-21 06:05:10 UTC) #19
nhiroki
Thank you! https://codereview.chromium.org/2811993007/diff/80001/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h File third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h (right): https://codereview.chromium.org/2811993007/diff/80001/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h#newcode49 third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h:49: // WorkerLoaderProxy object have been dropped. On ...
3 years, 8 months ago (2017-04-21 08:46:01 UTC) #24
yhirano
lgtm
3 years, 8 months ago (2017-04-21 09:06:49 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2811993007/100001
3 years, 8 months ago (2017-04-21 09:07:17 UTC) #29
haraken
LGTM https://codereview.chromium.org/2811993007/diff/100001/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp File third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp (right): https://codereview.chromium.org/2811993007/diff/100001/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp#newcode62 third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp:62: TaskRunnerHelper::Get(TaskType::kMiscPlatformAPI, GetWorkerThread()) I'm not sure if this is ...
3 years, 8 months ago (2017-04-21 09:48:50 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 10:17:13 UTC) #34
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/156f6edd319292215ac0d8a72863...

Powered by Google App Engine
This is Rietveld 408576698