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

Unified Diff: chromecast/media/cdm/browser_cdm_cast.h

Issue 1142513004: Chromecast: MessageLoopProxy cleanup --> SingleThreadTaskRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/media/cdm/browser_cdm_cast.h
diff --git a/chromecast/media/cdm/browser_cdm_cast.h b/chromecast/media/cdm/browser_cdm_cast.h
index 7a83a08dcc84fb3fa637b3d634f5411ef551bb5b..7d9522137701d6ca21cf68a6707a6ac03c0f47c1 100644
--- a/chromecast/media/cdm/browser_cdm_cast.h
+++ b/chromecast/media/cdm/browser_cdm_cast.h
@@ -19,7 +19,7 @@
#include "media/cdm/json_web_key.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace media {
@@ -99,9 +99,8 @@ class BrowserCdmCast : public ::media::BrowserCdm {
// UI-CMA threading interaction.
class BrowserCdmCastUi : public ::media::BrowserCdm {
public:
- BrowserCdmCastUi(
- scoped_ptr<BrowserCdmCast> browser_cdm_cast,
- const scoped_refptr<base::MessageLoopProxy>& cdm_loop);
+ BrowserCdmCastUi(scoped_ptr<BrowserCdmCast> browser_cdm_cast,
+ const scoped_refptr<base::SingleThreadTaskRunner>& cdm_loop);
lcwu1 2015/05/19 01:45:38 s/cdm_loop/cdm_runner
gunsch 2015/05/19 03:01:58 Done.
~BrowserCdmCastUi() override;
// PlayerTracker implementation:
@@ -134,7 +133,7 @@ class BrowserCdmCastUi : public ::media::BrowserCdm {
::media::CdmContext* GetCdmContext() override;
scoped_ptr<BrowserCdmCast> browser_cdm_cast_;
- scoped_refptr<base::MessageLoopProxy> cdm_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> cdm_loop_;
lcwu1 2015/05/19 01:45:38 Ditto.
gunsch 2015/05/19 03:01:58 Done.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698