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

Unified Diff: chromecast/renderer/media/media_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/media_pipeline_proxy.h
diff --git a/chromecast/renderer/media/media_pipeline_proxy.h b/chromecast/renderer/media/media_pipeline_proxy.h
index decec653b8659dbb2b1b1f70e809a762bf769f64..de3a638ba25db00001ebcdbafd89c9662fec2e49 100644
--- a/chromecast/renderer/media/media_pipeline_proxy.h
+++ b/chromecast/renderer/media/media_pipeline_proxy.h
@@ -16,7 +16,7 @@
#include "media/base/serial_runner.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace chromecast {
@@ -28,10 +28,9 @@ class VideoPipelineProxy;
class MediaPipelineProxy : public MediaPipeline {
public:
- MediaPipelineProxy(
- int render_frame_id,
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy,
- LoadType load_type);
+ MediaPipelineProxy(int render_frame_id,
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner,
+ LoadType load_type);
~MediaPipelineProxy() override;
// MediaPipeline implementation.
@@ -58,7 +57,7 @@ class MediaPipelineProxy : public MediaPipeline {
base::ThreadChecker thread_checker_;
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
const int render_frame_id_;
« no previous file with comments | « chromecast/renderer/media/cma_renderer_unittest.cc ('k') | chromecast/renderer/media/media_pipeline_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698