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

Issue 1190133002: Remove WorkerScriptLoaderClient and inheritances (Closed)

Created:
5 years, 6 months ago by Takashi Toyoshima
Modified:
5 years, 6 months ago
Reviewers:
kinuko, Mike West
CC:
blink-reviews, falken, horo+watch_chromium.org, kinuko+worker_chromium.org
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Remove WorkerScriptLoaderClient and inheritances This patch modifies WorkerScriptLoader not to use client callback class, but to use Closures on asynchronous load. Also, integrate some distributed functionalities from WebEmbeddedWorkerImpl::Loader and WebSharedWorkerImpl::Loader to WorkerScriptLoader so to remove these similar loader classes. BUG=500856 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197787

Patch Set 1 #

Patch Set 2 : remove WorkerScriptLoaderClient #

Patch Set 3 : cleanup #

Patch Set 4 : rebase #

Patch Set 5 : no-refcounted #

Total comments: 2

Patch Set 6 : fix http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.html #

Total comments: 10

Patch Set 7 : review #6 and #7 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -276 lines) Patch
M Source/core/core.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/workers/InProcessWorkerBase.h View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M Source/core/workers/InProcessWorkerBase.cpp View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.h View 1 2 3 4 5 chunks +15 lines, -17 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.cpp View 1 2 3 4 5 6 7 chunks +21 lines, -13 lines 0 comments Download
D Source/core/workers/WorkerScriptLoaderClient.h View 1 1 chunk +0 lines, -53 lines 0 comments Download
M Source/core/workers/WorkerThreadStartupData.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/SharedWorkerRepositoryClientImpl.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.h View 1 2 3 4 4 chunks +16 lines, -17 lines 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 4 3 chunks +6 lines, -52 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.h View 1 2 3 4 4 chunks +34 lines, -34 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 2 3 4 5 6 3 chunks +7 lines, -66 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Takashi Toyoshima
not urgent since I won't have much time tomorrow and will do another investigation on ...
5 years, 6 months ago (2015-06-18 12:33:04 UTC) #2
Takashi Toyoshima
https://codereview.chromium.org/1190133002/diff/70001/Source/core/workers/WorkerScriptLoader.cpp File Source/core/workers/WorkerScriptLoader.cpp (left): https://codereview.chromium.org/1190133002/diff/70001/Source/core/workers/WorkerScriptLoader.cpp#oldcode95 Source/core/workers/WorkerScriptLoader.cpp:95: // During create, callbacks may happen which remove the ...
5 years, 6 months ago (2015-06-19 05:24:46 UTC) #3
Takashi Toyoshima
Mike West, PTAL. Since this change touches codes that could affect CSP propagation, it would ...
5 years, 6 months ago (2015-06-23 12:00:46 UTC) #5
Mike West
The CSP bits LGTM % nits. https://codereview.chromium.org/1190133002/diff/90001/Source/core/workers/InProcessWorkerBase.h File Source/core/workers/InProcessWorkerBase.h (right): https://codereview.chromium.org/1190133002/diff/90001/Source/core/workers/InProcessWorkerBase.h#newcode28 Source/core/workers/InProcessWorkerBase.h:28: // creates them. ...
5 years, 6 months ago (2015-06-24 07:18:34 UTC) #6
kinuko
Looking good. https://codereview.chromium.org/1190133002/diff/70001/Source/core/workers/WorkerScriptLoader.cpp File Source/core/workers/WorkerScriptLoader.cpp (left): https://codereview.chromium.org/1190133002/diff/70001/Source/core/workers/WorkerScriptLoader.cpp#oldcode95 Source/core/workers/WorkerScriptLoader.cpp:95: // During create, callbacks may happen which ...
5 years, 6 months ago (2015-06-24 07:27:55 UTC) #7
Takashi Toyoshima
Thanks! https://codereview.chromium.org/1190133002/diff/90001/Source/core/workers/InProcessWorkerBase.h File Source/core/workers/InProcessWorkerBase.h (right): https://codereview.chromium.org/1190133002/diff/90001/Source/core/workers/InProcessWorkerBase.h#newcode28 Source/core/workers/InProcessWorkerBase.h:28: // creates them. Yeah, you are right. But ...
5 years, 6 months ago (2015-06-24 08:53:45 UTC) #8
Takashi Toyoshima
ok, let me see the try results, then ptal if it's fine.
5 years, 6 months ago (2015-06-24 08:54:42 UTC) #9
Takashi Toyoshima
test looks fine :)
5 years, 6 months ago (2015-06-24 10:41:55 UTC) #10
kinuko
lgtm
5 years, 6 months ago (2015-06-24 14:10:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1190133002/110001
5 years, 6 months ago (2015-06-25 00:38:31 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-06-25 00:42:37 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197787

Powered by Google App Engine
This is Rietveld 408576698