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

Unified Diff: chromecast/renderer/media/video_pipeline_proxy.h

Issue 1142513004: Chromecast: MessageLoopProxy cleanup --> SingleThreadTaskRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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: chromecast/renderer/media/video_pipeline_proxy.h
diff --git a/chromecast/renderer/media/video_pipeline_proxy.h b/chromecast/renderer/media/video_pipeline_proxy.h
index 88745525091a80b90bb62ef63c20e508152319a7..b15e3c6a8d1c50e1987dc737359f04882e8ad2cf 100644
--- a/chromecast/renderer/media/video_pipeline_proxy.h
+++ b/chromecast/renderer/media/video_pipeline_proxy.h
@@ -14,7 +14,7 @@
#include "media/base/pipeline_status.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
class SharedMemory;
}
@@ -32,9 +32,8 @@ class MediaChannelProxy;
class VideoPipelineProxy : public VideoPipeline {
public:
- VideoPipelineProxy(
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy,
- scoped_refptr<MediaChannelProxy> media_channel_proxy);
+ VideoPipelineProxy(scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
+ scoped_refptr<MediaChannelProxy> media_channel_proxy);
~VideoPipelineProxy() override;
void Initialize(const ::media::VideoDecoderConfig& config,
@@ -57,7 +56,7 @@ class VideoPipelineProxy : public VideoPipeline {
void OnPipeWrite();
void OnPipeRead();
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
// |proxy_| main goal is to convert function calls to IPC messages.
scoped_ptr<VideoPipelineProxyInternal> proxy_;
« no previous file with comments | « chromecast/renderer/media/media_pipeline_proxy.cc ('k') | chromecast/renderer/media/video_pipeline_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698