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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.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/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index e76a8bac0162f0fc9d821201591c74582e29e318..a20785affd48de389d9448714e7bc1bd19dd90b8 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -10,26 +10,26 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/shared_memory.h"
-#include "ipc/ipc_channel.h"
-#include "ipc/ipc_message.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "media/video/video_decode_accelerator.h"
class GpuCommandBufferStub;
class GpuVideoDecodeAccelerator
- : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+ : public IPC::Listener,
+ public IPC::Sender,
public media::VideoDecodeAccelerator::Client {
public:
// Each of the arguments to the constructor must outlive this object.
// |stub->decoder()| will be made current around any operation that touches
// the underlying VDA so that it can make GL calls safely.
- GpuVideoDecodeAccelerator(IPC::Message::Sender* sender,
+ GpuVideoDecodeAccelerator(IPC::Sender* sender,
int32 host_route_id,
GpuCommandBufferStub* stub);
virtual ~GpuVideoDecodeAccelerator();
- // IPC::Channel::Listener implementation.
+ // IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
// media::VideoDecodeAccelerator::Client implementation.
@@ -68,7 +68,7 @@ class GpuVideoDecodeAccelerator
void OnDestroy();
// Pointer to the IPC message sender.
- IPC::Message::Sender* sender_;
+ IPC::Sender* sender_;
// Message to Send() when initialization is done. Is only non-NULL during
// initialization and is owned by the IPC channel underlying the
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698