| 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 #ifndef CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 void Inspect(content::DevToolsAgentHost* agent_host) override; | 32 void Inspect(content::DevToolsAgentHost* agent_host) override; |
| 33 base::DictionaryValue* HandleCommand( | 33 base::DictionaryValue* HandleCommand( |
| 34 content::DevToolsAgentHost* agent_host, | 34 content::DevToolsAgentHost* agent_host, |
| 35 base::DictionaryValue* command_dict) override; | 35 base::DictionaryValue* command_dict) override; |
| 36 std::string GetTargetType(content::RenderFrameHost* host) override; | 36 std::string GetTargetType(content::RenderFrameHost* host) override; |
| 37 std::string GetTargetTitle(content::RenderFrameHost* host) override; | 37 std::string GetTargetTitle(content::RenderFrameHost* host) override; |
| 38 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( | 38 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( |
| 39 const GURL& url) override; | 39 const GURL& url) override; |
| 40 std::string GetDiscoveryPageHTML() override; | 40 std::string GetDiscoveryPageHTML() override; |
| 41 std::string GetFrontendResource(const std::string& path) override; | 41 std::string GetFrontendResource(const std::string& path) override; |
| 42 std::string GetBrowserTargetGUID() override; |
| 42 | 43 |
| 43 // content::DevToolsAgentHostObserver overrides. | 44 // content::DevToolsAgentHostObserver overrides. |
| 44 void DevToolsAgentHostAttached( | 45 void DevToolsAgentHostAttached( |
| 45 content::DevToolsAgentHost* agent_host) override; | 46 content::DevToolsAgentHost* agent_host) override; |
| 46 void DevToolsAgentHostDetached( | 47 void DevToolsAgentHostDetached( |
| 47 content::DevToolsAgentHost* agent_host) override; | 48 content::DevToolsAgentHost* agent_host) override; |
| 48 | 49 |
| 49 void DevicesAvailable( | 50 void DevicesAvailable( |
| 50 const DevToolsDeviceDiscovery::CompleteDevices& devices); | 51 const DevToolsDeviceDiscovery::CompleteDevices& devices); |
| 51 | 52 |
| 52 std::unique_ptr<base::DictionaryValue> SetRemoteLocations( | 53 std::unique_ptr<base::DictionaryValue> SetRemoteLocations( |
| 53 content::DevToolsAgentHost* agent_host, | 54 content::DevToolsAgentHost* agent_host, |
| 54 int command_id, | 55 int command_id, |
| 55 base::DictionaryValue* params); | 56 base::DictionaryValue* params); |
| 56 | 57 |
| 57 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; | 58 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; |
| 58 std::unique_ptr<AndroidDeviceManager> device_manager_; | 59 std::unique_ptr<AndroidDeviceManager> device_manager_; |
| 59 std::unique_ptr<DevToolsDeviceDiscovery> device_discovery_; | 60 std::unique_ptr<DevToolsDeviceDiscovery> device_discovery_; |
| 60 content::DevToolsAgentHost::List remote_agent_hosts_; | 61 content::DevToolsAgentHost::List remote_agent_hosts_; |
| 61 content::DevToolsAgentHost* remote_locations_requester_; | 62 content::DevToolsAgentHost* remote_locations_requester_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); | 64 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 67 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| OLD | NEW |