Index: Source/core/inspector/InjectedScriptHost.cpp |
diff --git a/Source/core/inspector/InjectedScriptHost.cpp b/Source/core/inspector/InjectedScriptHost.cpp |
index e1e8cc1f5fb4c8af3517711e559fc8f587410c25..681b9a4844a7ef74458b116b33bc194042d824dd 100644 |
--- a/Source/core/inspector/InjectedScriptHost.cpp |
+++ b/Source/core/inspector/InjectedScriptHost.cpp |
@@ -146,15 +146,25 @@ ScriptDebugServer& InjectedScriptHost::scriptDebugServer() |
return m_debuggerAgent->scriptDebugServer(); |
} |
-void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, int columnNumber) |
+void InjectedScriptHost::setDebugBreakpoint(const String& scriptId, int lineNumber, int columnNumber) |
{ |
m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); |
} |
-void InjectedScriptHost::removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber) |
+void InjectedScriptHost::removeDebugBreakpoint(const String& scriptId, int lineNumber, int columnNumber) |
{ |
m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); |
} |
+void InjectedScriptHost::setMonitorBreakpoint(const String& scriptId, int lineNumber, int columnNumber, const String& monitorCode) |
+{ |
+ m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource, monitorCode); |
+} |
+ |
+void InjectedScriptHost::removeMonitorBreakpoint(const String& scriptId, int lineNumber, int columnNumber) |
+{ |
+ m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource); |
+} |
+ |
} // namespace WebCore |