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

Unified Diff: Source/core/inspector/WorkerDebuggerAgent.h

Issue 1133903005: DevTools: [wip] do not use InspectorInstrumentation for will/didProcessTask events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « Source/core/inspector/InspectorProfilerAgent.cpp ('k') | Source/core/inspector/WorkerDebuggerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/WorkerDebuggerAgent.h
diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
index 1204545e138a004eeadfe1068e33c171b2a1734a..6d01d38ec5690fc88c52d5d5a7f5044c0c89694f 100644
--- a/Source/core/inspector/WorkerDebuggerAgent.h
+++ b/Source/core/inspector/WorkerDebuggerAgent.h
@@ -33,6 +33,7 @@
#include "bindings/core/v8/WorkerScriptDebugServer.h"
#include "core/inspector/InspectorDebuggerAgent.h"
+#include "public/platform/WebThread.h"
namespace blink {
@@ -44,7 +45,7 @@ class WorkerDebuggerAgent final : public InspectorDebuggerAgent {
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WorkerDebuggerAgent);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerDebuggerAgent);
public:
- static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
+ static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, WebThread::TaskObserver*);
~WorkerDebuggerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -52,7 +53,7 @@ public:
private:
- WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
+ WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, WebThread::TaskObserver*);
void startListeningScriptDebugServer() override;
void stopListeningScriptDebugServer() override;
@@ -63,6 +64,7 @@ private:
WorkerScriptDebugServer* m_scriptDebugServer;
RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
+ WebThread::TaskObserver* m_taskObserver;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorProfilerAgent.cpp ('k') | Source/core/inspector/WorkerDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698