Index: chrome/renderer/dev_tools_agent.h |
=================================================================== |
--- chrome/renderer/dev_tools_agent.h (revision 10976) |
+++ chrome/renderer/dev_tools_agent.h (working copy) |
@@ -28,6 +28,10 @@ |
explicit DevToolsAgent(RenderView* view, MessageLoop* view_loop); |
virtual ~DevToolsAgent(); |
+ // DevToolsAgent is created by RenderView which is supposed to call this |
+ // method from its destructor. |
+ void RenderViewDestroyed(); |
+ |
private: |
// Sends message to DevToolsClient. May be called on any thread. |
void Send(const IPC::Message& tools_client_message); |
@@ -56,6 +60,7 @@ |
scoped_refptr<DebuggerBridge> debugger_; |
+ int routing_id_; // View routing id that we can access from IO thread. |
Dean McNamee
2009/03/05 11:43:29
This is a style violation, two spaces before //
|
RenderView* view_; |
MessageLoop* view_loop_; |