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

Issue 2637743002: ServiceWorker: remove EmbeddedWorkerMsg_StartWorker (Closed)

Created:
3 years, 11 months ago by shimazu
Modified:
3 years, 11 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, viettrungluu+watch_chromium.org, qsr+mojo_chromium.org, mlamouri+watch-content_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, abarth-chromium, Aaron Boodman, kinuko+serviceworker, yzshen+watch_chromium.org, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, darin (slow to review), blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: remove EmbeddedWorkerMsg_StartWorker A clean up patch after --disable-mojo-service-worker flag has been removed. This patch removes the StartWorker message and also EmbeddedWorkerSetup interface which is used only for setting up the mojo interfaces when StartWorker message has been sent via the legacy IPC. BUG=629701 Review-Url: https://codereview.chromium.org/2637743002 Cr-Commit-Position: refs/heads/master@{#444253} Committed: https://chromium.googlesource.com/chromium/src/+/271c0525253b60dba0d09d8142cf3706217bea6f

Patch Set 1 #

Patch Set 2 : Remove SendStartWorker from EWRegistry #

Total comments: 14

Patch Set 3 : Removed unnecessary includes and codes #

Total comments: 6

Patch Set 4 : Addressed falken's comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -211 lines) Patch
M content/browser/service_worker/embedded_worker_instance.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 1 2 3 6 chunks +8 lines, -63 lines 0 comments Download
M content/browser/service_worker/embedded_worker_registry.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/service_worker/embedded_worker_registry.cc View 1 1 chunk +0 lines, -25 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 chunks +0 lines, -19 lines 0 comments Download
M content/common/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/service_worker/embedded_worker_messages.h View 1 chunk +0 lines, -4 lines 0 comments Download
D content/common/service_worker/embedded_worker_setup.mojom View 1 chunk +0 lines, -13 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 chunks +0 lines, -32 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_dispatcher.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_dispatcher.cc View 1 2 3 4 2 chunks +0 lines, -12 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 3 chunks +4 lines, -24 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (29 generated)
shimazu
ptal
3 years, 11 months ago (2017-01-16 02:10:12 UTC) #4
horo
https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc File content/browser/service_worker/embedded_worker_instance.cc (right): https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc#newcode22 content/browser/service_worker/embedded_worker_instance.cc:22: #include "content/common/service_worker/embedded_worker_setup.mojom.h" remove https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.cc File content/browser/service_worker/embedded_worker_test_helper.cc (right): https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.cc#newcode23 content/browser/service_worker/embedded_worker_test_helper.cc:23: ...
3 years, 11 months ago (2017-01-16 04:56:31 UTC) #15
falken
https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc File content/browser/service_worker/embedded_worker_instance.cc (right): https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc#newcode390 content/browser/service_worker/embedded_worker_instance.cc:390: SendStartWorker(std::move(params)); Can we collapse SendStartWorker into this function now? ...
3 years, 11 months ago (2017-01-16 05:07:45 UTC) #17
shimazu
Updated the path. PTAL again :) https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc File content/browser/service_worker/embedded_worker_instance.cc (right): https://codereview.chromium.org/2637743002/diff/20001/content/browser/service_worker/embedded_worker_instance.cc#newcode22 content/browser/service_worker/embedded_worker_instance.cc:22: #include "content/common/service_worker/embedded_worker_setup.mojom.h" On ...
3 years, 11 months ago (2017-01-16 05:49:54 UTC) #20
falken
lg to me after some more nits but let's wait for horo@ too. https://codereview.chromium.org/2637743002/diff/40001/content/browser/service_worker/embedded_worker_instance.cc File ...
3 years, 11 months ago (2017-01-16 06:02:51 UTC) #21
horo
lgtm
3 years, 11 months ago (2017-01-16 06:05:06 UTC) #22
shimazu
avi@: Could you review changes in render_thread_impl.cc and BUILD.gn? dcheng@: Could you review changes in ...
3 years, 11 months ago (2017-01-16 07:06:38 UTC) #26
shimazu
oops, avi seems ooo for a while. clamy@: could you review changes in BUILD.gn and ...
3 years, 11 months ago (2017-01-16 08:46:08 UTC) #30
clamy
Thanks! Lgtm.
3 years, 11 months ago (2017-01-16 12:38:32 UTC) #31
dcheng
ipc and mojo changes lgtm
3 years, 11 months ago (2017-01-17 22:07:42 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2637743002/60001
3 years, 11 months ago (2017-01-18 00:10:37 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/137264) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 00:13:23 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2637743002/80001
3 years, 11 months ago (2017-01-18 01:18:35 UTC) #40
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 02:58:17 UTC) #43
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/271c0525253b60dba0d09d8142cf...

Powered by Google App Engine
This is Rietveld 408576698