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

Unified Diff: chromecast/media/cma/pipeline/media_pipeline_impl.cc

Issue 903083003: Chromecast: change BrowserCdmCast threading model. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/cma/pipeline/media_pipeline_impl.cc
diff --git a/chromecast/media/cma/pipeline/media_pipeline_impl.cc b/chromecast/media/cma/pipeline/media_pipeline_impl.cc
index 051e450f1dbc4c251a33f2b38587bcda9c718d5c..55683ef73694ab7ab2c0c22b8dbddeec42ac5673 100644
--- a/chromecast/media/cma/pipeline/media_pipeline_impl.cc
+++ b/chromecast/media/cma/pipeline/media_pipeline_impl.cc
@@ -113,6 +113,7 @@ void MediaPipelineImpl::SetCdm(int cdm_id) {
}
void MediaPipelineImpl::SetCdm(::media::BrowserCdm* media_keys) {
+ DCHECK(thread_checker_.CalledOnValidThread());
erickung1 2015/02/07 01:31:10 Very NIT: may switch line with CMALOG to follow ot
gunsch 2015/02/07 01:44:27 Done.
CMALOG(kLogControl) << __FUNCTION__;
audio_pipeline_->SetCdm(static_cast<BrowserCdmCast*>(media_keys));
video_pipeline_->SetCdm(static_cast<BrowserCdmCast*>(media_keys));
« chromecast/media/cdm/browser_cdm_cast.cc ('K') | « chromecast/media/cma/pipeline/av_pipeline_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698