| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/v8_inspector/V8InspectorSessionImpl.h" | 5 #include "platform/v8_inspector/V8InspectorSessionImpl.h" |
| 6 | 6 |
| 7 #include "platform/inspector_protocol/Parser.h" | 7 #include "platform/inspector_protocol/Parser.h" |
| 8 #include "platform/v8_inspector/InjectedScript.h" | 8 #include "platform/v8_inspector/InjectedScript.h" |
| 9 #include "platform/v8_inspector/InspectedContext.h" | 9 #include "platform/v8_inspector/InspectedContext.h" |
| 10 #include "platform/v8_inspector/RemoteObjectId.h" | 10 #include "platform/v8_inspector/RemoteObjectId.h" |
| 11 #include "platform/v8_inspector/V8ConsoleAgentImpl.h" | 11 #include "platform/v8_inspector/V8ConsoleAgentImpl.h" |
| 12 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" | 12 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" |
| 13 #include "platform/v8_inspector/V8DebuggerImpl.h" | 13 #include "platform/v8_inspector/V8DebuggerImpl.h" |
| 14 #include "platform/v8_inspector/V8HeapProfilerAgentImpl.h" | 14 #include "platform/v8_inspector/V8HeapProfilerAgentImpl.h" |
| 15 #include "platform/v8_inspector/V8ProfilerAgentImpl.h" | 15 #include "platform/v8_inspector/V8ProfilerAgentImpl.h" |
| 16 #include "platform/v8_inspector/V8RuntimeAgentImpl.h" | 16 #include "platform/v8_inspector/V8RuntimeAgentImpl.h" |
| 17 #include "platform/v8_inspector/public/V8ContextInfo.h" | 17 #include "platform/v8_inspector/public/V8ContextInfo.h" |
| 18 #include "platform/v8_inspector/public/V8DebuggerClient.h" | 18 #include "platform/v8_inspector/public/V8DebuggerClient.h" |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 const char V8InspectorSession::backtraceObjectGroup[] = "backtrace"; | |
| 23 | |
| 24 // static | 22 // static |
| 25 bool V8InspectorSession::canDispatchMethod(const String16& method) | 23 bool V8InspectorSession::canDispatchMethod(const String16& method) |
| 26 { | 24 { |
| 27 return method.startWith(protocol::Runtime::Metainfo::commandPrefix) | 25 return method.startWith(protocol::Runtime::Metainfo::commandPrefix) |
| 28 || method.startWith(protocol::Debugger::Metainfo::commandPrefix) | 26 || method.startWith(protocol::Debugger::Metainfo::commandPrefix) |
| 29 || method.startWith(protocol::Profiler::Metainfo::commandPrefix) | 27 || method.startWith(protocol::Profiler::Metainfo::commandPrefix) |
| 30 || method.startWith(protocol::HeapProfiler::Metainfo::commandPrefix) | 28 || method.startWith(protocol::HeapProfiler::Metainfo::commandPrefix) |
| 31 || method.startWith(protocol::Console::Metainfo::commandPrefix); | 29 || method.startWith(protocol::Console::Metainfo::commandPrefix); |
| 32 } | 30 } |
| 33 | 31 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 m_debuggerAgent->resume(&errorString); | 307 m_debuggerAgent->resume(&errorString); |
| 310 } | 308 } |
| 311 | 309 |
| 312 void V8InspectorSessionImpl::stepOver() | 310 void V8InspectorSessionImpl::stepOver() |
| 313 { | 311 { |
| 314 ErrorString errorString; | 312 ErrorString errorString; |
| 315 m_debuggerAgent->stepOver(&errorString); | 313 m_debuggerAgent->stepOver(&errorString); |
| 316 } | 314 } |
| 317 | 315 |
| 318 } // namespace blink | 316 } // namespace blink |
| OLD | NEW |