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

Unified Diff: sky/engine/core/inspector/InspectorBaseAgent.cpp

Issue 727593004: Wire up the Inspector V8 Debugger (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Actually works Created 6 years, 1 month 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: 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
+

Powered by Google App Engine
This is Rietveld 408576698