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

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

Issue 1370373004: Revert of DevTools: extract V8DebuggerAgent interface, move it under .../inspector/v8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
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);
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/inspector/AsyncCallTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698