Index: third_party/WebKit/Source/core/inspector/AsyncCallTracker.h |
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallTracker.h b/third_party/WebKit/Source/core/inspector/AsyncCallTracker.h |
index bfc249d700ac42725d6a4626d81e6c73b107d46e..05ba546473e364348b9089e254efb2b7dceb4441 100644 |
--- a/third_party/WebKit/Source/core/inspector/AsyncCallTracker.h |
+++ b/third_party/WebKit/Source/core/inspector/AsyncCallTracker.h |
@@ -32,8 +32,7 @@ |
#define AsyncCallTracker_h |
#include "core/CoreExport.h" |
-#include "core/inspector/InstrumentingAgents.h" |
-#include "core/inspector/v8/V8DebuggerAgent.h" |
+#include "core/inspector/V8DebuggerAgent.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/HashMap.h" |
@@ -53,16 +52,17 @@ |
class ThreadableLoaderClient; |
class XMLHttpRequest; |
-class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFinalized<AsyncCallTracker> { |
+class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFinalized<AsyncCallTracker>, public V8DebuggerAgent::AsyncCallTrackingListener { |
WTF_MAKE_NONCOPYABLE(AsyncCallTracker); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker); |
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(AsyncCallTracker); |
public: |
AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*); |
- ~AsyncCallTracker(); |
+ ~AsyncCallTracker() override; |
- void asyncCallTrackingStateChanged(bool tracking); |
- void resetAsyncOperations(); |
+ // V8DebuggerAgent::AsyncCallTrackingListener implementation: |
+ void asyncCallTrackingStateChanged(bool tracking) override; |
+ void resetAsyncOperations() override; |
void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singleShot); |
void didRemoveTimer(ExecutionContext*, int timerId); |