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_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 void Inspect(content::DevToolsAgentHost* agent_host) override; | 22 void Inspect(content::DevToolsAgentHost* agent_host) override; |
23 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, | 23 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, |
24 bool attached) override; | 24 bool attached) override; |
25 base::DictionaryValue* HandleCommand( | 25 base::DictionaryValue* HandleCommand( |
26 content::DevToolsAgentHost* agent_host, | 26 content::DevToolsAgentHost* agent_host, |
27 base::DictionaryValue* command_dict) override; | 27 base::DictionaryValue* command_dict) override; |
28 std::string GetTargetType(content::RenderFrameHost* host) override; | 28 std::string GetTargetType(content::RenderFrameHost* host) override; |
29 std::string GetTargetTitle(content::RenderFrameHost* host) override; | 29 std::string GetTargetTitle(content::RenderFrameHost* host) override; |
30 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( | 30 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( |
31 const GURL& url) override; | 31 const GURL& url) override; |
| 32 std::string GetDiscoveryPageHTML() override; |
32 | 33 |
33 private: | 34 private: |
34 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; | 35 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateAndroid); | 37 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateAndroid); |
37 }; | 38 }; |
38 | 39 |
39 #endif // CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ | 40 #endif // CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ |
OLD | NEW |