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

Unified Diff: chromecast/browser/media/cma_message_loop.cc

Issue 1080233003: Chromecast: CmaMessageFilterHost SetCdm threading change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename MessageLoopProxy references Created 5 years, 8 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
« no previous file with comments | « chromecast/browser/media/cma_message_loop.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/cma_message_loop.cc
diff --git a/chromecast/browser/media/cma_message_loop.cc b/chromecast/browser/media/cma_message_loop.cc
index 98b2d9580ce25dc23b926441ff9700df3d23bca8..8ba93e01c998a934da642e3ca52eda00bb85dd9f 100644
--- a/chromecast/browser/media/cma_message_loop.cc
+++ b/chromecast/browser/media/cma_message_loop.cc
@@ -15,6 +15,11 @@ scoped_refptr<base::MessageLoopProxy> CmaMessageLoop::GetMessageLoopProxy() {
}
// static
+scoped_refptr<base::SingleThreadTaskRunner> CmaMessageLoop::GetTaskRunner() {
+ return GetInstance()->thread_->task_runner();
+}
+
+// static
CmaMessageLoop* CmaMessageLoop::GetInstance() {
return Singleton<CmaMessageLoop>::get();
}
« no previous file with comments | « chromecast/browser/media/cma_message_loop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698