| Index: Source/core/inspector/InjectedScriptHost.cpp | 
| diff --git a/Source/core/inspector/InjectedScriptHost.cpp b/Source/core/inspector/InjectedScriptHost.cpp | 
| index f6cc3a4d36d4db38d5ee4660a5e453f1f8633e2b..b836a79c96a49f6ad12d95f35539a245287797fe 100644 | 
| --- a/Source/core/inspector/InjectedScriptHost.cpp | 
| +++ b/Source/core/inspector/InjectedScriptHost.cpp | 
| @@ -143,14 +143,24 @@ String InjectedScriptHost::storageIdImpl(Storage* storage) | 
| return String(); | 
| } | 
|  | 
| -void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, int columnNumber) | 
| +static InspectorDebuggerAgent::BreakpointSource parseBreakpointSource(const String& source) | 
| +{ | 
| +    if (source == "debug") | 
| +        return InspectorDebuggerAgent::DebugCommandBreakpointSource; | 
| +    if (source == "monitor") | 
| +        return InspectorDebuggerAgent::MonitorCommandBreakpointSource; | 
| +    ASSERT(false); | 
| +    return InspectorDebuggerAgent::UserBreakpointSource; | 
| +} | 
| + | 
| +void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, const String& source, const String& condition) | 
| { | 
| -    m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); | 
| +    m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, parseBreakpointSource(source), condition); | 
| } | 
|  | 
| -void InjectedScriptHost::removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber) | 
| +void InjectedScriptHost::removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber, const String& source) | 
| { | 
| -    m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); | 
| +    m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, parseBreakpointSource(source)); | 
| } | 
|  | 
| } // namespace WebCore | 
|  |