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

Issue 1160133002: [1/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed)

Created:
5 years, 6 months ago by horo
Modified:
5 years, 6 months ago
Reviewers:
nhiroki, pfeldman
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, tzik, horo+watch_chromium.org, jam, yurys, darin-cc_chromium.org, nhiroki, devtools-reviews_chromium.org, kinuko+serviceworker, kinuko+watch, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[1/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. This cl implements ServiceWorkerHandler::ActivateTarget() to focus the tab which is controlled by ServiceWorker. Screenshot: https://code.google.com/p/chromium/issues/detail?id=466871#c65 1/5 chromium: This cl. 2/5 blink: https://codereview.chromium.org/1151993003/ 3/5 chromium: https://codereview.chromium.org/1149383004/ 4/5 blink: https://codereview.chromium.org/1164583002/ 5/5 chromium: https://codereview.chromium.org/1143363009/ BUG=466871 Committed: https://crrev.com/938e803e0a762fde0935ad7005e8f84d84f7e36e Cr-Commit-Position: refs/heads/master@{#333671}

Patch Set 1 #

Total comments: 4

Patch Set 2 : incorporated nhiroki's comment #

Patch Set 3 : use DevToolsAgentHost ID for ClientId #

Total comments: 4

Patch Set 4 : incorporated pfeldman's comment #

Total comments: 2

Patch Set 5 : s/Focus/Activate/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M content/browser/devtools/protocol/service_worker_handler.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/devtools/protocol/service_worker_handler.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
horo
nhiroki@ Could you please review this?
5 years, 6 months ago (2015-05-29 08:55:54 UTC) #2
nhiroki
LGTM with nits https://codereview.chromium.org/1160133002/diff/1/content/browser/service_worker/service_worker_utils.h File content/browser/service_worker/service_worker_utils.h (right): https://codereview.chromium.org/1160133002/diff/1/content/browser/service_worker/service_worker_utils.h#newcode9 content/browser/service_worker/service_worker_utils.h:9: #include "content/browser/service_worker/service_worker_provider_host.h" nit: not necessary? https://codereview.chromium.org/1160133002/diff/1/content/browser/service_worker/service_worker_utils.h#newcode26 ...
5 years, 6 months ago (2015-06-01 05:04:09 UTC) #3
horo
Thank you https://codereview.chromium.org/1160133002/diff/1/content/browser/service_worker/service_worker_utils.h File content/browser/service_worker/service_worker_utils.h (right): https://codereview.chromium.org/1160133002/diff/1/content/browser/service_worker/service_worker_utils.h#newcode26 content/browser/service_worker/service_worker_utils.h:26: static void NoOpClientInfoCallback(const ServiceWorkerClientInfo&) {} On 2015/06/01 ...
5 years, 6 months ago (2015-06-02 03:14:48 UTC) #4
horo
pfeldman@ Could you please review content/browser/devtools/protocol/service_worker_handler.*?
5 years, 6 months ago (2015-06-02 03:15:20 UTC) #6
pfeldman
https://codereview.chromium.org/1160133002/diff/80001/content/browser/devtools/protocol/service_worker_handler.cc File content/browser/devtools/protocol/service_worker_handler.cc (right): https://codereview.chromium.org/1160133002/diff/80001/content/browser/devtools/protocol/service_worker_handler.cc#newcode402 content/browser/devtools/protocol/service_worker_handler.cc:402: return Response::InternalError("Not implemented yet"); Why do you need command_id? ...
5 years, 6 months ago (2015-06-05 12:19:54 UTC) #9
horo
https://codereview.chromium.org/1160133002/diff/80001/content/browser/devtools/protocol/service_worker_handler.cc File content/browser/devtools/protocol/service_worker_handler.cc (right): https://codereview.chromium.org/1160133002/diff/80001/content/browser/devtools/protocol/service_worker_handler.cc#newcode402 content/browser/devtools/protocol/service_worker_handler.cc:402: return Response::InternalError("Not implemented yet"); On 2015/06/05 12:19:54, pfeldman wrote: ...
5 years, 6 months ago (2015-06-08 03:21:53 UTC) #11
horo
pfeldman@ Ping?
5 years, 6 months ago (2015-06-09 13:58:54 UTC) #12
pfeldman
lgtm https://codereview.chromium.org/1160133002/diff/120001/content/browser/devtools/protocol/service_worker_handler.h File content/browser/devtools/protocol/service_worker_handler.h (right): https://codereview.chromium.org/1160133002/diff/120001/content/browser/devtools/protocol/service_worker_handler.h#newcode64 content/browser/devtools/protocol/service_worker_handler.h:64: Response FocusTarget(const std::string& target_id); We should have called ...
5 years, 6 months ago (2015-06-09 14:00:25 UTC) #13
horo
Thank you! https://codereview.chromium.org/1160133002/diff/120001/content/browser/devtools/protocol/service_worker_handler.h File content/browser/devtools/protocol/service_worker_handler.h (right): https://codereview.chromium.org/1160133002/diff/120001/content/browser/devtools/protocol/service_worker_handler.h#newcode64 content/browser/devtools/protocol/service_worker_handler.h:64: Response FocusTarget(const std::string& target_id); On 2015/06/09 14:00:25, ...
5 years, 6 months ago (2015-06-10 02:24:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160133002/140001
5 years, 6 months ago (2015-06-10 02:25:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160133002/140001
5 years, 6 months ago (2015-06-10 03:10:57 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 6 months ago (2015-06-10 03:14:18 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 03:16:14 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/938e803e0a762fde0935ad7005e8f84d84f7e36e
Cr-Commit-Position: refs/heads/master@{#333671}

Powered by Google App Engine
This is Rietveld 408576698