force attach devtools client when requested by inspectable webcontents

This commit is contained in:
deepak1556 2017-01-10 16:43:16 +05:30
parent 4110a9c66d
commit cddce77ea4
3 changed files with 8 additions and 6 deletions

View file

@ -38,7 +38,7 @@ class InspectableWebContents {
virtual void ShowDevTools() = 0;
virtual void CloseDevTools() = 0;
virtual bool IsDevToolsViewShowing() = 0;
virtual void AttachTo(const scoped_refptr<content::DevToolsAgentHost>&) = 0;
virtual void AttachTo(scoped_refptr<content::DevToolsAgentHost>) = 0;
virtual void Detach() = 0;
virtual void CallClientFunction(const std::string& function_name,
const base::Value* arg1 = nullptr,