Index: content/common/gpu/gpu_channel.h |
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h |
index 0692b903b4fab7128f9c171a3c6a8dd24fcdc945..23c27e0a0a491333c1bee334dfa225e1fe31bcb8 100644 |
--- a/content/common/gpu/gpu_channel.h |
+++ b/content/common/gpu/gpu_channel.h |
@@ -86,6 +86,10 @@ class GpuChannel : public IPC::Listener, |
base::ProcessId renderer_pid() const { return channel_->peer_pid(); } |
+ scoped_refptr<base::MessageLoopProxy> io_message_loop() const { |
+ return io_message_loop_; |
+ } |
+ |
// IPC::Listener implementation: |
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
virtual void OnChannelError() OVERRIDE; |
@@ -156,6 +160,9 @@ class GpuChannel : public IPC::Listener, |
void CacheShader(const std::string& key, const std::string& shader); |
+ void AddFilter(IPC::ChannelProxy::MessageFilter* filter); |
+ void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter); |
+ |
protected: |
virtual ~GpuChannel(); |