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

Unified Diff: content/common/gpu/gpu_channel_manager.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/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index 53e255f1f003ba05d9bb07f547b8b588cb3f40f9..735895e23675efbf9290eb1bf1527c24da10586d 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -12,8 +12,8 @@
#include "base/message_loop_proxy.h"
#include "build/build_config.h"
#include "content/common/gpu/gpu_memory_manager.h"
-#include "ipc/ipc_channel.h"
-#include "ipc/ipc_message.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "ui/gfx/native_widget_types.h"
namespace base {
@@ -47,11 +47,11 @@ class SyncPointManager;
// A GpuChannelManager can also be hosted in the browser process in single
// process or in-process GPU modes. In this case there is no corresponding
// GpuChildThread and this is the reason the GpuChildThread is referenced via
-// a pointer to IPC::Message::Sender, which can be implemented by other hosts
-// to send IPC messages to the browser process IO thread on the
-// GpuChannelManager's behalf.
-class GpuChannelManager : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+// a pointer to IPC::Sender, which can be implemented by other hosts to send
+// IPC messages to the browser process IO thread on the GpuChannelManager's
+// behalf.
+class GpuChannelManager : public IPC::Listener,
+ public IPC::Sender,
public GpuMemoryManagerClient {
public:
GpuChannelManager(ChildThread* gpu_child_thread,
@@ -78,7 +78,7 @@ class GpuChannelManager : public IPC::Channel::Listener,
base::WeakPtrFactory<GpuChannelManager> weak_factory_;
int GenerateRouteID();
- void AddRoute(int32 routing_id, IPC::Channel::Listener* listener);
+ void AddRoute(int32 routing_id, IPC::Listener* listener);
void RemoveRoute(int32 routing_id);
GpuMemoryManager* gpu_memory_manager() { return &gpu_memory_manager_; }
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698