diff options
Diffstat (limited to 'chrome/browser/debugger/debugger_remote_service.cc')
-rw-r--r-- | chrome/browser/debugger/debugger_remote_service.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/debugger/debugger_remote_service.cc b/chrome/browser/debugger/debugger_remote_service.cc index 7053ab7..a856fb6 100644 --- a/chrome/browser/debugger/debugger_remote_service.cc +++ b/chrome/browser/debugger/debugger_remote_service.cc @@ -140,6 +140,10 @@ void DebuggerRemoteService::HandleMessage( } } +void DebuggerRemoteService::OnConnectionLost() { + delegate_->inspectable_tab_proxy()->OnRemoteDebuggerDetached(); +} + void DebuggerRemoteService::SendResponse(const Value& response, const std::string& tool, const std::string& destination) { @@ -212,7 +216,7 @@ void DebuggerRemoteService::AttachTab(const std::string& destination, if (g_browser_process->devtools_manager()->GetDevToolsClientHostFor( *web_contents) == NULL) { DevToolsClientHost* client_host = - InspectableTabProxy::NewClientHost(tab_uid, this); + delegate_->inspectable_tab_proxy()->NewClientHost(tab_uid, this); DevToolsManager* manager = g_browser_process->devtools_manager(); if (manager != NULL) { manager->RegisterDevToolsClientHostFor(*web_contents, client_host); |