Index: content/renderer/devtools_agent_filter.h |
diff --git a/content/renderer/devtools_agent_filter.h b/content/renderer/devtools_agent_filter.h |
index 217827e36d311808c9dccf7663cdf8506458defb..767291ed8f1f5865940def1649540e34e0e39910 100644 |
--- a/content/renderer/devtools_agent_filter.h |
+++ b/content/renderer/devtools_agent_filter.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -23,26 +23,21 @@ class DevToolsAgentFilter : public IPC::ChannelProxy::MessageFilter { |
public: |
// There is a single instance of this class instantiated by the RenderThread. |
DevToolsAgentFilter(); |
- virtual ~DevToolsAgentFilter(); |
static void SendRpcMessage(const DevToolsMessageData& data); |
- private: |
// IPC::ChannelProxy::MessageFilter override. Called on IO thread. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
- virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE; |
+ protected: |
+ virtual ~DevToolsAgentFilter(); |
+ private: |
void OnDispatchOnInspectorBackend(const std::string& message); |
bool message_handled_; |
MessageLoop* render_thread_loop_; |
- // Made static to allow DevToolsAgent to use it for replying directly |
- // from IO thread. |
- static int current_routing_id_; |
- static IPC::Channel* channel_; |
- |
DISALLOW_COPY_AND_ASSIGN(DevToolsAgentFilter); |
}; |