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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerInspectorController.h

Issue 2171973006: [worklets] Change WorkerInspectorController to accept a WorkerThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@script-env
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
index 845901ebf366d820ee14f34c855520bd38e1102b..a8ee2a256cabb18e0f3cf7bc9d754bafec928fa7 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
@@ -43,7 +43,7 @@ namespace blink {
class InspectorLogAgent;
class InstrumentingAgents;
class V8Debugger;
-class WorkerGlobalScope;
+class WorkerThread;
class WorkerThreadDebugger;
namespace protocol {
@@ -55,8 +55,8 @@ class FrontendChannel;
class WorkerInspectorController final : public GarbageCollectedFinalized<WorkerInspectorController>, public InspectorSession::Client {
WTF_MAKE_NONCOPYABLE(WorkerInspectorController);
public:
- static WorkerInspectorController* create(WorkerGlobalScope*);
- ~WorkerInspectorController();
+ static WorkerInspectorController* create(WorkerThread*);
+ ~WorkerInspectorController() override;
DECLARE_TRACE();
InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAgents.get(); }
@@ -67,7 +67,7 @@ public:
void dispose();
private:
- WorkerInspectorController(WorkerGlobalScope*, WorkerThreadDebugger*);
+ WorkerInspectorController(WorkerThread*, WorkerThreadDebugger*);
// InspectorSession::Client implementation.
void sendProtocolMessage(int sessionId, int callId, const String& response, const String& state) override;
@@ -75,7 +75,7 @@ private:
void consoleCleared() override;
WorkerThreadDebugger* m_debugger;
- Member<WorkerGlobalScope> m_workerGlobalScope;
+ WorkerThread* m_thread;
Member<InstrumentingAgents> m_instrumentingAgents;
Member<InspectorSession> m_session;
Member<InspectorLogAgent> m_logAgent;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698