Index: sky/engine/core/inspector/InspectorBaseAgent.cpp |
diff --git a/sky/engine/bindings/core/v8/V8RecursionScope.cpp b/sky/engine/core/inspector/InspectorBaseAgent.cpp |
similarity index 79% |
copy from sky/engine/bindings/core/v8/V8RecursionScope.cpp |
copy to sky/engine/core/inspector/InspectorBaseAgent.cpp |
index 9790bc07acff506d8a1e0049fae9f822ded8b295..86a3f66abc3a1c96ac32c6789a16b1220b894787 100644 |
--- a/sky/engine/bindings/core/v8/V8RecursionScope.cpp |
+++ b/sky/engine/core/inspector/InspectorBaseAgent.cpp |
@@ -29,15 +29,29 @@ |
*/ |
#include "config.h" |
-#include "bindings/core/v8/V8RecursionScope.h" |
+#include "core/inspector/InspectorBaseAgent.h" |
-#include "core/dom/Microtask.h" |
+#include "core/inspector/InspectorState.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
-void V8RecursionScope::didLeaveScriptContext() |
+InspectorAgent::InspectorAgent(const String& name) |
+ : m_name(name) |
{ |
- Microtask::performCheckpoint(); |
+} |
+ |
+InspectorAgent::~InspectorAgent() |
+{ |
+} |
+ |
+void InspectorAgent::init(InstrumentingAgents* agents, |
+ InspectorState* inspectorState) |
+{ |
+ m_instrumentingAgents = agents; |
+ m_state = inspectorState; |
+ virtualInit(); |
} |
} // namespace blink |
+ |