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

Unified Diff: media/gpu/ipc/service/media_gpu_channel.h

Issue 2870333003: gpu: Remove gpu channel filter and queue from header. (Closed)
Patch Set: Created 3 years, 7 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: media/gpu/ipc/service/media_gpu_channel.h
diff --git a/media/gpu/ipc/service/media_gpu_channel.h b/media/gpu/ipc/service/media_gpu_channel.h
index 547b26af0428bde292db5950393fe42c656702a2..cbfe59ff2bc93d5c08ffd5f49b0c07052a5e650a 100644
--- a/media/gpu/ipc/service/media_gpu_channel.h
+++ b/media/gpu/ipc/service/media_gpu_channel.h
@@ -7,6 +7,7 @@
#include <memory>
+#include "base/memory/weak_ptr.h"
sandersd (OOO until July 31) 2017/05/11 21:09:18 Nit: Only needed by the impl.
#include "base/unguessable_token.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
@@ -24,6 +25,7 @@ class GpuChannel;
namespace media {
class MediaGpuChannelDispatchHelper;
+class MediaGpuChannelFilter;
class MediaGpuChannel : public IPC::Listener, public IPC::Sender {
public:
@@ -51,8 +53,9 @@ class MediaGpuChannel : public IPC::Listener, public IPC::Sender {
IPC::Message* reply_message);
gpu::GpuChannel* const channel_;
- base::UnguessableToken channel_token_;
+ scoped_refptr<MediaGpuChannelFilter> filter_;
std::unique_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_;
+
DISALLOW_COPY_AND_ASSIGN(MediaGpuChannel);
};

Powered by Google App Engine
This is Rietveld 408576698