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

Issue 2703343002: ServiceWorker: Use mojo's data pipe for respondWith(stream) (Closed)

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

Description

ServiceWorker: Use mojo's data pipe for respondWith(stream) Currently respondWith(fetch(...)) is using Stream provided by BlobRegistry. BlobRegistry is living on the main thread and any respondWith using the BlobRegistry like 'respondWith(fetch(...))' or 'respondWith(new Response('body'))' on the service worker thread contain a thread hop implicitly. This patch is to use mojo's data pipe instead of Stream to avoid the thread hop. Proof-of-Concept patch: https://crrev.com/2684533002 BUG=690795 Review-Url: https://codereview.chromium.org/2703343002 Cr-Commit-Position: refs/heads/master@{#465909} Committed: https://chromium.googlesource.com/chromium/src/+/1ac68cf90fa046d3e9c1418aee7cd14b8ec38210

Patch Set 1 #

Patch Set 2 : unsigned #

Patch Set 3 : Fixed DCHECK_GT and used NESTABLE TRACE_EVENT #

Patch Set 4 : Updated #

Patch Set 5 : Added an interface to notify the state of producer side w/o updating unittests #

Patch Set 6 : Fixed unittests and browsertests #

Patch Set 7 : Rebase and remove an extra return causing failures #

Patch Set 8 : Rebase #

Total comments: 38

Patch Set 9 : Addressed horo's comments #

Patch Set 10 : Added Abort tests and revised the state in SWDataPipeReader #

Patch Set 11 : Add a unittest for SWDataPipeReader #

Patch Set 12 : Used TEST_P to test closing the connection first and On{Aborted,Completed} first #

Total comments: 6

Patch Set 13 : Rebase/reformat #

Patch Set 14 : Updated comments #

Total comments: 28

Patch Set 15 : Fixed formatting, updated comments and removed unnecessary files #

Total comments: 2

Patch Set 16 : Made a dtor of WebServiceWorkerStreamHandle virtual for removing StreamHandleListener correctly #

Patch Set 17 : Removed an unnecessary variable #

Patch Set 18 : Added a test to cancel the fetch #

Patch Set 19 : Rebased #

Total comments: 2

Patch Set 20 : IFRAME_URL -> SCOPE #

Total comments: 38

Patch Set 21 : Rebased with following comments from falken, kinuko and haraken. #

Patch Set 22 : Make SWDataPipeReader::State private #

Total comments: 38

Patch Set 23 : Addressed falken's comments #

Total comments: 26

Patch Set 24 : Update comments #

Total comments: 5

Patch Set 25 : Addressed comments from kinuko and haraken #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1564 lines, -578 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +1 line, -5 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/cache_storage/cache_storage_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +14 lines, -10 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +22 lines, -18 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_data_pipe_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +77 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_data_pipe_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +198 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_data_pipe_reader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +414 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +79 lines, -19 lines 0 comments Download
D content/browser/service_worker/service_worker_stream_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -60 lines 0 comments Download
D content/browser/service_worker/service_worker_stream_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -136 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +10 lines, -8 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +11 lines, -10 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 16 chunks +262 lines, -176 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +30 lines, -3 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.typemap View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +4 lines, -3 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/service_worker/service_worker_types.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/cache_storage/cache_storage_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +13 lines, -6 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +88 lines, -20 lines 0 comments Download
M content/renderer/service_worker/service_worker_type_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/slow-fetch-and-stop-worker-iframe.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/slow-response.php View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/DEPS View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchDataLoader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchDataLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +56 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +38 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -9 lines 0 comments Download
A third_party/WebKit/Source/platform/exported/WebServiceWorkerStreamHandle.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +18 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -3 lines 0 comments Download
A third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 118 (87 generated)
shimazu
ptal, thanks! https://codereview.chromium.org/2703343002/diff/140001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp File third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp (right): https://codereview.chromium.org/2703343002/diff/140001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp#newcode233 third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp:233: // MojoCreateDataPipeOptions options; Do you have insight ...
3 years, 8 months ago (2017-04-06 03:22:16 UTC) #27
horo
https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn#newcode1343 content/browser/BUILD.gn:1343: "service_worker/service_worker_stream_reader.cc", You can delete service_worker_stream_reader.*. https://codereview.chromium.org/2703343002/diff/140001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): ...
3 years, 8 months ago (2017-04-06 05:22:09 UTC) #30
horo
Some layout tests are failing. Please check the try-bot result.
3 years, 8 months ago (2017-04-06 05:52:40 UTC) #31
shimazu
Uploaded ps#11. PTAnL:) https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn#newcode1343 content/browser/BUILD.gn:1343: "service_worker/service_worker_stream_reader.cc", On 2017/04/06 05:22:08, horo wrote: ...
3 years, 8 months ago (2017-04-07 08:52:29 UTC) #47
shimazu
Uploaded ps#11 for additional tests. PTAnL:)
3 years, 8 months ago (2017-04-10 00:45:39 UTC) #52
falken
Drive-by: I just looked at the mojom files mostly. nit in CL description: "any respondWith ...
3 years, 8 months ago (2017-04-10 01:21:57 UTC) #56
horo
https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn#newcode1343 content/browser/BUILD.gn:1343: "service_worker/service_worker_stream_reader.cc", On 2017/04/07 08:52:29, shimazu wrote: > On 2017/04/06 ...
3 years, 8 months ago (2017-04-10 09:24:38 UTC) #62
shimazu
Thanks for your comments! Uploaded ps#15. PTAnL. https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2703343002/diff/140001/content/browser/BUILD.gn#newcode1343 content/browser/BUILD.gn:1343: "service_worker/service_worker_stream_reader.cc", On ...
3 years, 8 months ago (2017-04-11 01:32:58 UTC) #65
horo
https://codereview.chromium.org/2703343002/diff/280001/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2703343002/diff/280001/content/renderer/service_worker/service_worker_context_client.cc#newcode708 content/renderer/service_worker/service_worker_context_client.cc:708: // Aborts all the pending events callbacks. On 2017/04/11 ...
3 years, 8 months ago (2017-04-11 05:41:53 UTC) #68
shimazu
Thanks for your comment! What is really wrong was that the destruction of FetchLoaderClient wasn't ...
3 years, 8 months ago (2017-04-12 05:53:35 UTC) #78
horo
lgtm with a nit. Thank you! https://codereview.chromium.org/2703343002/diff/380001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html (right): https://codereview.chromium.org/2703343002/diff/380001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html#newcode9 third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html:9: var SCOPE = ...
3 years, 8 months ago (2017-04-12 06:21:59 UTC) #79
shimazu
kinuko@chromium.org: Please review changes in content/browser/BUILD.gn and DEPS, and could you roughly scan? haraken@chromium.org: Please ...
3 years, 8 months ago (2017-04-12 07:22:01 UTC) #83
falken
https://codereview.chromium.org/2703343002/diff/400001/content/common/service_worker/service_worker_event_dispatcher.mojom File content/common/service_worker/service_worker_event_dispatcher.mojom (right): https://codereview.chromium.org/2703343002/diff/400001/content/common/service_worker/service_worker_event_dispatcher.mojom#newcode56 content/common/service_worker/service_worker_event_dispatcher.mojom:56: // only used for responses where the body is ...
3 years, 8 months ago (2017-04-12 08:00:17 UTC) #84
Tom Sepez
mojom lgtm
3 years, 8 months ago (2017-04-12 16:15:39 UTC) #85
kinuko
https://codereview.chromium.org/2703343002/diff/400001/content/browser/service_worker/service_worker_data_pipe_reader.h File content/browser/service_worker/service_worker_data_pipe_reader.h (right): https://codereview.chromium.org/2703343002/diff/400001/content/browser/service_worker/service_worker_data_pipe_reader.h#newcode44 content/browser/service_worker/service_worker_data_pipe_reader.h:44: enum class State { STREAMING, COMPLETED, ABORTED }; state() ...
3 years, 8 months ago (2017-04-13 02:22:28 UTC) #86
haraken
https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp File third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp (right): https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp#newcode116 third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp:116: class FetchLoaderClient final Would it be possible to remove ...
3 years, 8 months ago (2017-04-13 05:03:44 UTC) #87
haraken
https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp File third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp (right): https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp#newcode116 third_party/WebKit/Source/modules/serviceworkers/FetchRespondWithObserver.cpp:116: class FetchLoaderClient final On 2017/04/13 05:03:44, haraken wrote: > ...
3 years, 8 months ago (2017-04-13 05:05:14 UTC) #88
shimazu
Thanks for your comments! Uploaded ps#22. PTAnL. https://codereview.chromium.org/2703343002/diff/380001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html (right): https://codereview.chromium.org/2703343002/diff/380001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html#newcode9 third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/stop-worker-during-respond-with.html:9: var SCOPE ...
3 years, 8 months ago (2017-04-18 01:50:05 UTC) #93
falken
https://codereview.chromium.org/2703343002/diff/440001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): https://codereview.chromium.org/2703343002/diff/440001/content/browser/service_worker/service_worker_data_pipe_reader.cc#newcode119 content/browser/service_worker/service_worker_data_pipe_reader.cc:119: // called yet. Where does this async completion happen? ...
3 years, 8 months ago (2017-04-18 05:05:34 UTC) #94
haraken
https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h File third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h (right): https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h#newcode15 third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h:15: class BLINK_PLATFORM_EXPORT WebServiceWorkerStreamHandle { On 2017/04/18 01:50:05, shimazu wrote: ...
3 years, 8 months ago (2017-04-18 11:41:19 UTC) #95
shimazu
Thanks for your review. Uploaded ps#23 for adding/refining comments. PTAnL. https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h File third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h (right): https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h#newcode15 ...
3 years, 8 months ago (2017-04-19 05:49:47 UTC) #96
falken
I think this lgtm. https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc#newcode51 content/browser/service_worker/service_worker_data_pipe_reader.cc:51: void ServiceWorkerDataPipeReader::OnHandleGotSignal(MojoResult) { It's a ...
3 years, 8 months ago (2017-04-19 06:56:53 UTC) #97
shimazu
https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc#newcode51 content/browser/service_worker/service_worker_data_pipe_reader.cc:51: void ServiceWorkerDataPipeReader::OnHandleGotSignal(MojoResult) { On 2017/04/19 06:56:52, falken (away until ...
3 years, 8 months ago (2017-04-19 08:32:16 UTC) #104
haraken
https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h File third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h (right): https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h#newcode15 third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h:15: class BLINK_PLATFORM_EXPORT WebServiceWorkerStreamHandle { On 2017/04/19 05:49:46, shimazu wrote: ...
3 years, 8 months ago (2017-04-19 09:14:30 UTC) #105
kinuko
lgtm % some more nits & one question. https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc#newcode89 content/browser/service_worker/service_worker_data_pipe_reader.cc:89: case ...
3 years, 8 months ago (2017-04-19 09:17:47 UTC) #106
kinuko
On 2017/04/19 09:14:30, haraken wrote: > https://codereview.chromium.org/2703343002/diff/400001/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h > File > third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerStreamHandle.h > (right): > > ...
3 years, 8 months ago (2017-04-19 09:24:41 UTC) #107
haraken
LGTM I'd add a TODO to remove WebServiceWorkerStreamHandle by moving the SW client to Blink. ...
3 years, 8 months ago (2017-04-19 11:29:09 UTC) #110
haraken
LGTM I'd add a TODO to remove WebServiceWorkerStreamHandle by moving the SW client to Blink. ...
3 years, 8 months ago (2017-04-19 11:29:10 UTC) #111
shimazu
Thanks for comments. updated. https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc File content/browser/service_worker/service_worker_data_pipe_reader.cc (right): https://codereview.chromium.org/2703343002/diff/460001/content/browser/service_worker/service_worker_data_pipe_reader.cc#newcode89 content/browser/service_worker/service_worker_data_pipe_reader.cc:89: case MOJO_RESULT_BUSY: On 2017/04/19 09:17:47, ...
3 years, 8 months ago (2017-04-20 04:20:42 UTC) #112
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/2703343002/520001
3 years, 8 months ago (2017-04-20 04:22:04 UTC) #115
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 06:04:04 UTC) #118
Message was sent while issue was closed.
Committed patchset #25 (id:520001) as
https://chromium.googlesource.com/chromium/src/+/1ac68cf90fa046d3e9c1418aee7c...

Powered by Google App Engine
This is Rietveld 408576698