Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 10662005: Use IPC::Sender and IPC::Listener in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index 71cbf0698e4b7dd1a0b52026f903f9408922130e..04e86156ecfc635034ce5ac1a571fa492c77d900 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -47,7 +47,7 @@ struct GpuListenerInfo {
GpuListenerInfo();
~GpuListenerInfo();
- base::WeakPtr<IPC::Channel::Listener> listener;
+ base::WeakPtr<IPC::Listener> listener;
scoped_refptr<base::MessageLoopProxy> loop;
};
@@ -69,7 +69,7 @@ class CONTENT_EXPORT GpuChannelHostFactory {
// Encapsulates an IPC channel between the client and one GPU process.
// On the GPU process side there's a corresponding GpuChannel.
-class GpuChannelHost : public IPC::Message::Sender,
+class GpuChannelHost : public IPC::Sender,
public base::RefCountedThreadSafe<GpuChannelHost> {
public:
enum State {
@@ -101,7 +101,7 @@ class GpuChannelHost : public IPC::Message::Sender,
void OnChannelError();
- // IPC::Message::Sender implementation:
+ // IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
// Create and connect to a command buffer in the GPU process.
@@ -133,7 +133,7 @@ class GpuChannelHost : public IPC::Message::Sender,
void DestroyCommandBuffer(CommandBufferProxy* command_buffer);
// Add a route for the current message loop.
- void AddRoute(int route_id, base::WeakPtr<IPC::Channel::Listener> listener);
+ void AddRoute(int route_id, base::WeakPtr<IPC::Listener> listener);
void RemoveRoute(int route_id);
GpuChannelHostFactory* factory() const { return factory_; }
@@ -152,7 +152,7 @@ class GpuChannelHost : public IPC::Message::Sender,
explicit MessageFilter(GpuChannelHost* parent);
void AddRoute(int route_id,
- base::WeakPtr<IPC::Channel::Listener> listener,
+ base::WeakPtr<IPC::Listener> listener,
scoped_refptr<base::MessageLoopProxy> loop);
void RemoveRoute(int route_id);
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698