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

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

Issue 1286343003: DevTools: make InspectorDebuggerAgent aggregate V8DebuggerAgent instead of inheriting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed dgozman's comments Created 5 years, 4 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/bindings/core/v8/ScriptController.cpp ('k') | Source/core/inspector/AsyncCallTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/AsyncCallTracker.h
diff --git a/Source/core/inspector/AsyncCallTracker.h b/Source/core/inspector/AsyncCallTracker.h
index a28f69bcb20e4811ad39428af276a4f0bfd08b94..4a15f1c1b1ed98eef9685fc50b17c7b5e543de6d 100644
--- a/Source/core/inspector/AsyncCallTracker.h
+++ b/Source/core/inspector/AsyncCallTracker.h
@@ -32,7 +32,7 @@
#define AsyncCallTracker_h
#include "core/CoreExport.h"
-#include "core/inspector/InspectorDebuggerAgent.h"
+#include "core/inspector/V8DebuggerAgent.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
@@ -47,20 +47,19 @@ class ExecutionContext;
class ExecutionContextTask;
class FormData;
class HTTPHeaderMap;
-class InspectorDebuggerAgent;
class KURL;
class MutationObserver;
class ThreadableLoaderClient;
class XMLHttpRequest;
-class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFinalized<AsyncCallTracker>, public InspectorDebuggerAgent::AsyncCallTrackingListener {
+class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFinalized<AsyncCallTracker>, public V8DebuggerAgent::AsyncCallTrackingListener {
WTF_MAKE_NONCOPYABLE(AsyncCallTracker);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker);
public:
- AsyncCallTracker(InspectorDebuggerAgent*, InstrumentingAgents*);
+ AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*);
~AsyncCallTracker() override;
- // InspectorDebuggerAgent::AsyncCallTrackingListener implementation:
+ // V8DebuggerAgent::AsyncCallTrackingListener implementation:
void asyncCallTrackingStateChanged(bool tracking) override;
void resetAsyncOperations() override;
@@ -113,7 +112,7 @@ private:
using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<ExecutionContext>, OwnPtrWillBeMember<ExecutionContextData>>;
ExecutionContextDataMap m_executionContextDataMap;
- RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent;
+ RawPtrWillBeMember<V8DebuggerAgent> m_debuggerAgent;
RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
};
« no previous file with comments | « Source/bindings/core/v8/ScriptController.cpp ('k') | Source/core/inspector/AsyncCallTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698