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

Unified Diff: chromecast/renderer/media/audio_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/audio_pipeline_proxy.h
diff --git a/chromecast/renderer/media/audio_pipeline_proxy.h b/chromecast/renderer/media/audio_pipeline_proxy.h
index b319ee1b8a7879a1c62bcec4c9c9f25b61ca95b3..7bcc6852e6a820bc67be5cb72eb8ebb7a861d75b 100644
--- a/chromecast/renderer/media/audio_pipeline_proxy.h
+++ b/chromecast/renderer/media/audio_pipeline_proxy.h
@@ -15,7 +15,7 @@
#include "media/base/pipeline_status.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
class SharedMemory;
}
@@ -33,9 +33,8 @@ class MediaChannelProxy;
class AudioPipelineProxy : public AudioPipeline {
public:
- AudioPipelineProxy(
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy,
- scoped_refptr<MediaChannelProxy> media_channel_proxy);
+ AudioPipelineProxy(scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
+ scoped_refptr<MediaChannelProxy> media_channel_proxy);
~AudioPipelineProxy() override;
void Initialize(
@@ -60,7 +59,7 @@ class AudioPipelineProxy : public AudioPipeline {
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<AudioPipelineProxyInternal> proxy_;
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.cc ('k') | chromecast/renderer/media/audio_pipeline_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698