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

Issue 91173002: Actually start ServiceWorkerThread in EmbeddedWorker (Closed)

Created:
7 years ago by kinuko
Modified:
7 years ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Visibility:
Public.

Description

Actually start ServiceWorkerThread in EmbeddedWorker - Implement actual code to start ServiceWorkerThread and ServiceWorkerGlobalScope in WebEmbeddedWorkerImpl::onScriptLoaderFinished(). - Also adds ServiceWorkerGlobalScopeProxy class, which implements WebServiceWorkerContextProxy and WorkerLoaderProxy. This does mostly just relaying messages to/from WorkerGlobalScope and ServiceWorkerContextClient implementation in Chromium. BUG=313530 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163495

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated comments #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -3 lines) Patch
A Source/web/ServiceWorkerGlobalScopeProxy.h View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
A Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 5 chunks +55 lines, -3 lines 0 comments Download
M Source/web/web.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextProxy.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kinuko
This patch actually connects alec's WorkerGlobalScope patch and EmbeddedWorker part. Can you review? (After holiday ...
7 years ago (2013-11-27 10:25:19 UTC) #1
kinuko
adamk@: would you be able to review this? This patch's actually starting a new ServiceWorkerGlobalScope ...
7 years ago (2013-12-05 03:01:09 UTC) #2
alecflett
Are we at the point where we can start writing webkit_unittests against this? This lgtm ...
7 years ago (2013-12-05 04:21:19 UTC) #3
kinuko
I'll check if we can start adding some tests for this. https://codereview.chromium.org/91173002/diff/1/Source/web/ServiceWorkerGlobalScopeProxy.h File Source/web/ServiceWorkerGlobalScopeProxy.h (right): ...
7 years ago (2013-12-05 07:36:55 UTC) #4
adamk
lgtm % style nits Also interested in your thoughts about pointers vs references https://codereview.chromium.org/91173002/diff/20001/Source/web/ServiceWorkerGlobalScopeProxy.cpp File ...
7 years ago (2013-12-05 22:50:12 UTC) #5
kinuko
Thanks for review, updated the code. Reg: ptr vs reference, I think I'm probably too ...
7 years ago (2013-12-09 12:24:20 UTC) #6
kinuko
abarth@: could you do owner review for public/web change? (just adding one forward decl)
7 years ago (2013-12-09 12:33:56 UTC) #7
abarth-chromium
public/web LGTM
7 years ago (2013-12-09 17:28:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/91173002/40001
7 years ago (2013-12-09 17:28:56 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/web/WebEmbeddedWorkerImpl.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-09 17:28:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/91173002/60001
7 years ago (2013-12-10 03:32:49 UTC) #11
commit-bot: I haz the power
7 years ago (2013-12-10 05:07:44 UTC) #12
Message was sent while issue was closed.
Change committed as 163495

Powered by Google App Engine
This is Rietveld 408576698