OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
7 | 7 |
8 #include "content/browser/devtools/devtools_agent_host_impl.h" | 8 #include "content/browser/devtools/devtools_agent_host_impl.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 15 matching lines...) Expand all Loading... |
26 BrowserDevToolsAgentHost( | 26 BrowserDevToolsAgentHost( |
27 scoped_refptr<base::SingleThreadTaskRunner> tethering_task_runner, | 27 scoped_refptr<base::SingleThreadTaskRunner> tethering_task_runner, |
28 const CreateServerSocketCallback& socket_callback); | 28 const CreateServerSocketCallback& socket_callback); |
29 ~BrowserDevToolsAgentHost() override; | 29 ~BrowserDevToolsAgentHost() override; |
30 | 30 |
31 // DevToolsAgentHostImpl implementation. | 31 // DevToolsAgentHostImpl implementation. |
32 void Attach() override; | 32 void Attach() override; |
33 void Detach() override; | 33 void Detach() override; |
34 | 34 |
35 // DevToolsAgentHost implementation. | 35 // DevToolsAgentHost implementation. |
36 Type GetType() override; | 36 std::string GetType() override; |
37 std::string GetTitle() override; | 37 std::string GetTitle() override; |
38 GURL GetURL() override; | 38 GURL GetURL() override; |
39 bool Activate() override; | 39 bool Activate() override; |
| 40 bool Inspect() override; |
| 41 void Reload() override; |
40 bool Close() override; | 42 bool Close() override; |
41 bool DispatchProtocolMessage(const std::string& message) override; | 43 bool DispatchProtocolMessage(const std::string& message) override; |
42 | 44 |
43 std::unique_ptr<devtools::browser::BrowserHandler> browser_handler_; | 45 std::unique_ptr<devtools::browser::BrowserHandler> browser_handler_; |
44 std::unique_ptr<devtools::io::IOHandler> io_handler_; | 46 std::unique_ptr<devtools::io::IOHandler> io_handler_; |
45 std::unique_ptr<devtools::memory::MemoryHandler> memory_handler_; | 47 std::unique_ptr<devtools::memory::MemoryHandler> memory_handler_; |
46 std::unique_ptr<devtools::system_info::SystemInfoHandler> | 48 std::unique_ptr<devtools::system_info::SystemInfoHandler> |
47 system_info_handler_; | 49 system_info_handler_; |
48 std::unique_ptr<devtools::tethering::TetheringHandler> tethering_handler_; | 50 std::unique_ptr<devtools::tethering::TetheringHandler> tethering_handler_; |
49 std::unique_ptr<devtools::tracing::TracingHandler> tracing_handler_; | 51 std::unique_ptr<devtools::tracing::TracingHandler> tracing_handler_; |
50 std::unique_ptr<DevToolsProtocolHandler> protocol_handler_; | 52 std::unique_ptr<DevToolsProtocolHandler> protocol_handler_; |
51 }; | 53 }; |
52 | 54 |
53 } // namespace content | 55 } // namespace content |
54 | 56 |
55 #endif // CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ | 57 #endif // CONTENT_BROWSER_DEVTOOLS_BROWSER_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |