diff options
Diffstat (limited to 'chrome/browser/debugger/inspectable_tab_proxy.h')
-rw-r--r-- | chrome/browser/debugger/inspectable_tab_proxy.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/chrome/browser/debugger/inspectable_tab_proxy.h b/chrome/browser/debugger/inspectable_tab_proxy.h index af08232..8d02727 100644 --- a/chrome/browser/debugger/inspectable_tab_proxy.h +++ b/chrome/browser/debugger/inspectable_tab_proxy.h @@ -26,8 +26,8 @@ class InspectableTabProxy { typedef base::hash_map<int32, NavigationController*> ControllersMap; typedef base::hash_map<int32, DevToolsClientHostImpl*> IdToClientHostMap; - InspectableTabProxy() {} - virtual ~InspectableTabProxy() {} + InspectableTabProxy(); + virtual ~InspectableTabProxy(); // Returns a map of NavigationControllerKeys to NavigationControllers // for all Browser instances. Clients should not keep the result around @@ -64,13 +64,9 @@ class DevToolsClientHostImpl : public DevToolsClientHost { DevToolsClientHostImpl( int32 id, DebuggerRemoteService* service, - InspectableTabProxy::IdToClientHostMap* map) - : id_(id), - service_(service), - map_(map) {} - ~DevToolsClientHostImpl() { - map_->erase(this->id_); - } + InspectableTabProxy::IdToClientHostMap* map); + ~DevToolsClientHostImpl(); + DebuggerRemoteService* debugger_remote_service() { return service_; } |