| 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; |
| 33 std::string GetFrontendResource(const std::string& path) override; |
| 32 | 34 |
| 33 private: | 35 private: |
| 34 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; | 36 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; |
| 35 | 37 |
| 36 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateAndroid); | 38 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateAndroid); |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 #endif // CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ | 41 #endif // CHROME_BROWSER_ANDROID_DEVTOOLS_MANAGER_DELEGATE_ANDROID_H_ |
| OLD | NEW |