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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallTracker.cpp b/third_party/WebKit/Source/core/inspector/AsyncCallTracker.cpp
index 52046515f36822d5f36f8baefd2b9937b566d421..5f2d474438288a68ab20749d2564ba2c3999e00b 100644
--- a/third_party/WebKit/Source/core/inspector/AsyncCallTracker.cpp
+++ b/third_party/WebKit/Source/core/inspector/AsyncCallTracker.cpp
@@ -37,6 +37,7 @@
#include "core/events/Event.h"
#include "core/events/EventTarget.h"
#include "core/inspector/AsyncOperationMap.h"
+#include "core/inspector/V8DebuggerAgent.h"
#include "core/xmlhttprequest/XMLHttpRequest.h"
#include "core/xmlhttprequest/XMLHttpRequestUpload.h"
#include "platform/ScriptForbiddenScope.h"
@@ -139,10 +140,14 @@
: m_debuggerAgent(debuggerAgent)
, m_instrumentingAgents(instrumentingAgents)
{
+ m_debuggerAgent->addAsyncCallTrackingListener(this);
}
AsyncCallTracker::~AsyncCallTracker()
{
+#if !ENABLE(OILPAN)
+ m_debuggerAgent->removeAsyncCallTrackingListener(this);
+#endif
}
void AsyncCallTracker::asyncCallTrackingStateChanged(bool tracking)
@@ -429,6 +434,7 @@
visitor->trace(m_debuggerAgent);
visitor->trace(m_instrumentingAgents);
#endif
+ V8DebuggerAgent::AsyncCallTrackingListener::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698