OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/browser/devtools/browser_devtools_agent_host.h" | 5 #include "content/browser/devtools/browser_devtools_agent_host.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/guid.h" | 8 #include "base/guid.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "content/browser/devtools/devtools_session.h" | 11 #include "content/browser/devtools/devtools_session.h" |
11 #include "content/browser/devtools/protocol/io_handler.h" | 12 #include "content/browser/devtools/protocol/io_handler.h" |
12 #include "content/browser/devtools/protocol/memory_handler.h" | 13 #include "content/browser/devtools/protocol/memory_handler.h" |
13 #include "content/browser/devtools/protocol/protocol.h" | 14 #include "content/browser/devtools/protocol/protocol.h" |
14 #include "content/browser/devtools/protocol/system_info_handler.h" | 15 #include "content/browser/devtools/protocol/system_info_handler.h" |
15 #include "content/browser/devtools/protocol/target_handler.h" | 16 #include "content/browser/devtools/protocol/target_handler.h" |
16 #include "content/browser/devtools/protocol/tethering_handler.h" | 17 #include "content/browser/devtools/protocol/tethering_handler.h" |
17 #include "content/browser/devtools/protocol/tracing_handler.h" | 18 #include "content/browser/devtools/protocol/tracing_handler.h" |
18 #include "content/browser/frame_host/frame_tree_node.h" | 19 #include "content/browser/frame_host/frame_tree_node.h" |
19 | 20 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool BrowserDevToolsAgentHost::DispatchProtocolMessage( | 93 bool BrowserDevToolsAgentHost::DispatchProtocolMessage( |
93 DevToolsSession* session, | 94 DevToolsSession* session, |
94 const std::string& message) { | 95 const std::string& message) { |
95 int call_id; | 96 int call_id; |
96 std::string method; | 97 std::string method; |
97 session->Dispatch(message, &call_id, &method); | 98 session->Dispatch(message, &call_id, &method); |
98 return true; | 99 return true; |
99 } | 100 } |
100 | 101 |
101 } // content | 102 } // content |
OLD | NEW |