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

Unified Diff: content/common/gpu/gpu_channel.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
« no previous file with comments | « content/common/gpu/client/gpu_video_decode_accelerator_host.h ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index acaae1ac2fc0180fd7161efb94f7f6707c664766..d9f90f75dee35feeb64fa7f3d3c0aac050d24262 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -39,8 +39,8 @@ struct RefCountedCounter;
// Encapsulates an IPC channel between the GPU process and one renderer
// process. On the renderer side there's a corresponding GpuChannelHost.
-class GpuChannel : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+class GpuChannel : public IPC::Listener,
+ public IPC::Sender,
public base::RefCountedThreadSafe<GpuChannel> {
public:
// Takes ownership of the renderer process handle.
@@ -68,11 +68,11 @@ class GpuChannel : public IPC::Channel::Listener,
base::ProcessId renderer_pid() const { return channel_->peer_pid(); }
- // IPC::Channel::Listener implementation:
+ // IPC::Listener implementation:
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
- // IPC::Message::Sender implementation:
+ // IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
virtual void AppendAllCommandBufferStubs(
@@ -103,7 +103,7 @@ class GpuChannel : public IPC::Channel::Listener,
int GenerateRouteID();
// Called to add/remove a listener for a particular message routing ID.
- void AddRoute(int32 route_id, IPC::Channel::Listener* listener);
+ void AddRoute(int32 route_id, IPC::Listener* listener);
void RemoveRoute(int32 route_id);
gpu::RefCountedCounter* MessagesPendingCount() {
« no previous file with comments | « content/common/gpu/client/gpu_video_decode_accelerator_host.h ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698