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

Issue 855383006: ServiceWorker: Enqueue state change events until the worker thread gets ready (Closed)

Created:
5 years, 11 months ago by nhiroki
Modified:
5 years, 10 months ago
Reviewers:
kinuko, falken, Mike West
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, mlamouri+watch-content_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, horo+watch_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Enqueue state change events until the worker thread gets ready This CL supports the step 3 described in the design doc: https://docs.google.com/document/d/1qDGbMlwKOXxCRBlw9IirK8Qmna3JqvnO3Aogkfu9UJQ/edit?usp=sharing Queued events are flushed out when the worker thread gets ready and the provider host is notified of the thread id. BUG=437677 TEST=https://codereview.chromium.org/861743002/ Committed: https://crrev.com/b0e43f64ce0dd2932d8dfac0f0c37b0ac64de3be Cr-Commit-Position: refs/heads/master@{#313512}

Patch Set 1 : #

Patch Set 2 : fix compile failure #

Patch Set 3 : fix content_unittests #

Total comments: 14

Patch Set 4 : address review comments #

Patch Set 5 : revise impl comment #

Patch Set 6 : address falken@'s comments #

Messages

Total messages: 21 (11 generated)
nhiroki
PTAL
5 years, 11 months ago (2015-01-27 16:17:37 UTC) #10
kinuko
lgtm, nit comments only https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode672 content/browser/service_worker/service_worker_dispatcher_host.cc:672: return; // The provider has ...
5 years, 10 months ago (2015-01-28 07:13:12 UTC) #11
falken
looks good to me too with kinuko's comments typo in CL description: s/desing/design https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_provider_host.h File ...
5 years, 10 months ago (2015-01-28 13:42:09 UTC) #12
nhiroki
Thank you! Updated. https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode672 content/browser/service_worker/service_worker_dispatcher_host.cc:672: return; // The provider has already ...
5 years, 10 months ago (2015-01-28 13:43:22 UTC) #13
nhiroki
+mkwst@, can you review embedded_worker_messages.h ? Thanks.
5 years, 10 months ago (2015-01-28 13:43:59 UTC) #15
Mike West
IPC LGTM.
5 years, 10 months ago (2015-01-28 14:04:17 UTC) #16
nhiroki
Thank you for reviewing. Addressed falken@'s comments. https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_provider_host.h File content/browser/service_worker/service_worker_provider_host.h (right): https://codereview.chromium.org/855383006/diff/190001/content/browser/service_worker/service_worker_provider_host.h#newcode48 content/browser/service_worker/service_worker_provider_host.h:48: typedef ServiceWorkerProviderHost ...
5 years, 10 months ago (2015-01-28 14:08:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/855383006/250001
5 years, 10 months ago (2015-01-28 14:10:02 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:250001)
5 years, 10 months ago (2015-01-28 15:00:10 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 15:00:59 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b0e43f64ce0dd2932d8dfac0f0c37b0ac64de3be
Cr-Commit-Position: refs/heads/master@{#313512}

Powered by Google App Engine
This is Rietveld 408576698