| Index: content/public/browser/devtools_manager_delegate.h
|
| diff --git a/content/public/browser/devtools_manager_delegate.h b/content/public/browser/devtools_manager_delegate.h
|
| index 4d929292ac5b42663495fe28193414788bf347ec..d34e7af3957ed5eea0cc835fb73cb348f45b4f4c 100644
|
| --- a/content/public/browser/devtools_manager_delegate.h
|
| +++ b/content/public/browser/devtools_manager_delegate.h
|
| @@ -4,8 +4,6 @@
|
|
|
| #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
|
| #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
|
| -
|
| -#include <string>
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| @@ -15,23 +13,17 @@
|
|
|
| class BrowserContext;
|
| class DevToolsAgentHost;
|
| -class RenderFrameHost;
|
|
|
| class DevToolsManagerDelegate {
|
| public:
|
| virtual ~DevToolsManagerDelegate() {}
|
|
|
| // Opens the inspector for |agent_host|.
|
| - virtual void Inspect(DevToolsAgentHost* agent_host) = 0;
|
| + virtual void Inspect(BrowserContext* browser_context,
|
| + DevToolsAgentHost* agent_host) = 0;
|
|
|
| virtual void DevToolsAgentStateChanged(DevToolsAgentHost* agent_host,
|
| bool attached) = 0;
|
| -
|
| - // Returns DevToolsAgentHost type to use for given |host| target.
|
| - virtual std::string GetTargetType(RenderFrameHost* host) = 0;
|
| -
|
| - // Returns DevToolsAgentHost title to use for given |host| target.
|
| - virtual std::string GetTargetTitle(RenderFrameHost* host) = 0;
|
|
|
| // Result ownership is passed to the caller.
|
| virtual base::DictionaryValue* HandleCommand(
|
|
|