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

Issue 102243010: Move the worker script loading code to the worker process (phase:1/5) (Closed)

Created:
7 years ago by horo
Modified:
6 years, 11 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move the worker script loading code to the worker process (phase:1/5) - Add contentSecurityPolicy and WebContentSecurityPolicyType to the arguments of WebSharedWorkerRepositoryClient::createSharedWorkerConnector. - Add workerScriptLoaded(), workerScriptLoadFailed(), and selectAppChacheID() to WebSharedWorkerClient. This is step 1 of moving the worker script loading code from the renderer process to the worker process. See: http://crbug.com/329786 BUG=329786 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164576

Patch Set 1 #

Total comments: 5

Patch Set 2 : FIx typo #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M Source/web/SharedWorkerRepositoryClientImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M public/web/WebSharedWorkerClient.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M public/web/WebSharedWorkerRepositoryClient.h View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
horo
kinuko@ Could you please review this?
7 years ago (2013-12-19 06:55:26 UTC) #1
kinuko
lgtm, but please fix the typo :) https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp File Source/web/SharedWorkerRepositoryClientImpl.cpp (right): https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp#newcode162 Source/web/SharedWorkerRepositoryClientImpl.cpp:162: OwnPtr<WebSharedWorkerConnector> webWorkerConnector ...
7 years ago (2013-12-20 05:07:12 UTC) #2
horo
https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp File Source/web/SharedWorkerRepositoryClientImpl.cpp (right): https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp#newcode162 Source/web/SharedWorkerRepositoryClientImpl.cpp:162: OwnPtr<WebSharedWorkerConnector> webWorkerConnector = adoptPtr(m_client->createSharedWorkerConnector(url, name, getId(document), worker->executionContext()->contentSecurityPolicy()->deprecatedHeader(), static_cast<blink::WebContentSecurityPolicyType>(worker->executionContext()->contentSecurityPolicy()->deprecatedHeaderType()))); On ...
7 years ago (2013-12-20 06:30:24 UTC) #3
kinuko
https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp File Source/web/SharedWorkerRepositoryClientImpl.cpp (right): https://codereview.chromium.org/102243010/diff/1/Source/web/SharedWorkerRepositoryClientImpl.cpp#newcode162 Source/web/SharedWorkerRepositoryClientImpl.cpp:162: OwnPtr<WebSharedWorkerConnector> webWorkerConnector = adoptPtr(m_client->createSharedWorkerConnector(url, name, getId(document), worker->executionContext()->contentSecurityPolicy()->deprecatedHeader(), static_cast<blink::WebContentSecurityPolicyType>(worker->executionContext()->contentSecurityPolicy()->deprecatedHeaderType()))); On ...
7 years ago (2013-12-20 06:43:20 UTC) #4
horo
jochen@ Could you please review this CL? Thank you.
6 years, 11 months ago (2014-01-06 14:50:36 UTC) #5
jochen (gone - plz use gerrit)
lgtm
6 years, 11 months ago (2014-01-07 10:18:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/102243010/110001
6 years, 11 months ago (2014-01-07 10:50:01 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 13:09:20 UTC) #8
Message was sent while issue was closed.
Change committed as 164576

Powered by Google App Engine
This is Rietveld 408576698