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

Issue 2171973006: [worklets] Change WorkerInspectorController to accept a WorkerThread. (Closed)

Created:
4 years, 5 months ago by ikilpatrick
Modified:
4 years, 4 months ago
Reviewers:
kinuko, dgozman, nhiroki, yhirano
CC:
chromium-reviews, kinuko+worker_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, falken, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, horo+watch_chromium.org, sergeyv+blink_chromium.org, blink-worker-reviews_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@script-env
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[worklets] Change WorkerInspectorController to accept a WorkerThread. This is to allow WorkerInspectorController to work with a ThreadedWorkletGlobalScope as well. The alternative here is to add the required methods (thread() etc) on WorkerOrWorkletGlobalScope which I don't think is the best approach. BUG=567358 Committed: https://crrev.com/0177e05c812a52e8554678bd33fc4c0397b8b9df Cr-Commit-Position: refs/heads/master@{#408278}

Patch Set 1 #

Patch Set 2 : [worklets] Change WorkerInspectorController to accept a WorkerThread. #

Patch Set 3 : . #

Total comments: 10

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.h View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp View 1 2 3 6 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (15 generated)
ikilpatrick
My current WIP patch for the whole ThreadedWorklet* is here: https://codereview.chromium.org/2171973002#ps60001 Going to add stub ...
4 years, 4 months ago (2016-07-26 23:58:29 UTC) #5
dgozman
I think this approach is fine. https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp File third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp (right): https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp#newcode71 third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp:71: m_logAgent = new ...
4 years, 4 months ago (2016-07-27 01:47:53 UTC) #9
nhiroki
lgtm https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp File third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp (right): https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp#newcode37 third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp:37: #include "core/workers/WorkerGlobalScope.h" Maybe WorkerGlobalScope.h is not necessary. https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h ...
4 years, 4 months ago (2016-07-27 07:12:05 UTC) #10
yhirano
lgtm https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp File third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp (right): https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp#newcode61 third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp:61: { DCHECK(!m_thread); https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h File third_party/WebKit/Source/core/inspector/WorkerInspectorController.h (right): https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h#newcode60 third_party/WebKit/Source/core/inspector/WorkerInspectorController.h:60: ...
4 years, 4 months ago (2016-07-27 08:57:06 UTC) #11
kinuko
lgtm after comments are addressed/resolved
4 years, 4 months ago (2016-07-27 14:24:50 UTC) #12
ikilpatrick
https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp File third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp (right): https://codereview.chromium.org/2171973006/diff/40001/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp#newcode37 third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp:37: #include "core/workers/WorkerGlobalScope.h" On 2016/07/27 07:12:05, nhiroki wrote: > Maybe ...
4 years, 4 months ago (2016-07-27 17:50:42 UTC) #15
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/2171973006/60001
4 years, 4 months ago (2016-07-27 22:29:13 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-27 23:44:09 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:46:57 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0177e05c812a52e8554678bd33fc4c0397b8b9df
Cr-Commit-Position: refs/heads/master@{#408278}

Powered by Google App Engine
This is Rietveld 408576698