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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 1307363006: DevTools: move instrumentation of v8 calls into V8ScriptRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed comments Created 5 years, 4 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
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 5cd3f3a99d8f6f30d615110822d9f62e5602ef13..2d179739b0725ddb50212c439aeb59ca231335a5 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -283,24 +283,14 @@ void InspectorDebuggerAgent::scriptExecutionBlockedByCSP(const String& directive
m_v8DebuggerAgent->breakProgram(InspectorFrontend::Debugger::Reason::CSPViolation, directive.release());
}
-void InspectorDebuggerAgent::willCallFunction(const DevToolsFunctionInfo& info)
+void InspectorDebuggerAgent::willExecuteScript(int scriptId)
{
- m_v8DebuggerAgent->willCallFunction(info.scriptId());
+ m_v8DebuggerAgent->willExecuteScript(scriptId);
}
-void InspectorDebuggerAgent::didCallFunction()
+void InspectorDebuggerAgent::didExecuteScript()
{
- m_v8DebuggerAgent->didCallFunction();
-}
-
-void InspectorDebuggerAgent::willEvaluateScript()
-{
- m_v8DebuggerAgent->willEvaluateScript();
-}
-
-void InspectorDebuggerAgent::didEvaluateScript()
-{
- m_v8DebuggerAgent->didEvaluateScript();
+ m_v8DebuggerAgent->didExecuteScript();
}
// InspectorBaseAgent overrides.
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698