Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(33)

Issue 1190493002: move processContentSecurityPolicy to WorkerScriptLoader (Closed)

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

Description

move processContentSecurityPolicy to WorkerScriptLoader - Move ContentSecurityPolicy related code from WorkerScriptLoaderClient to WorkerScriptLoader. This is preparation for using callbacks instead of WorkerScriptLoaderClient and integrating WebEmbeddedWorkerImpl::Loader and WebSharedWorkerImpl::Loader to WorkerScriptLoader. - Call processContentSecurityPolicy() not from each inheritance but from WorkerScriptLoader so that behaviors could be consistent easily. BUG=500856 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197334

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : processCSP in Loader #

Patch Set 4 : cleanup #

Patch Set 5 : (rebase) #

Total comments: 2

Patch Set 6 : (rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -68 lines) Patch
M Source/core/core.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/workers/InProcessWorkerBase.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/InProcessWorkerBase.cpp View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.h View 1 2 3 4 chunks +16 lines, -7 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.cpp View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerScriptLoaderClient.h View 1 2 1 chunk +1 line, -9 lines 0 comments Download
D Source/core/workers/WorkerScriptLoaderClient.cpp View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 4 5 3 chunks +1 line, -9 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 2 4 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Takashi Toyoshima
Hi Mike, Can you take a look?
4 years, 10 months ago (2015-06-16 12:10:08 UTC) #3
Takashi Toyoshima
+kinuko for design around workers.
4 years, 10 months ago (2015-06-17 05:09:27 UTC) #5
Mike West
The Content Security Policy bits LGTM. I'd like kinuko@ to sign off on the design ...
4 years, 10 months ago (2015-06-17 08:49:01 UTC) #6
kinuko
lgtm w/ one nit https://codereview.chromium.org/1190493002/diff/100001/Source/core/workers/WorkerScriptLoader.h File Source/core/workers/WorkerScriptLoader.h (right): https://codereview.chromium.org/1190493002/diff/100001/Source/core/workers/WorkerScriptLoader.h#newcode78 Source/core/workers/WorkerScriptLoader.h:78: void setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy> policy) { m_contentSecurityPolicy ...
4 years, 10 months ago (2015-06-17 13:47:55 UTC) #7
Takashi Toyoshima
https://codereview.chromium.org/1190493002/diff/100001/Source/core/workers/WorkerScriptLoader.h File Source/core/workers/WorkerScriptLoader.h (right): https://codereview.chromium.org/1190493002/diff/100001/Source/core/workers/WorkerScriptLoader.h#newcode78 Source/core/workers/WorkerScriptLoader.h:78: void setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy> policy) { m_contentSecurityPolicy = policy; }; This ...
4 years, 10 months ago (2015-06-18 06:23:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1190493002/120001
4 years, 10 months ago (2015-06-18 06:24:44 UTC) #11
kinuko
On 2015/06/18 06:23:55, Takashi Toyoshima (chromium) wrote: > https://codereview.chromium.org/1190493002/diff/100001/Source/core/workers/WorkerScriptLoader.h > File Source/core/workers/WorkerScriptLoader.h (right): > > ...
4 years, 10 months ago (2015-06-18 06:27:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1190493002/120001
4 years, 10 months ago (2015-06-18 09:43:50 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2015-06-18 09:48:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197334

Powered by Google App Engine
This is Rietveld 408576698