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

Unified Diff: media/remoting/remote_renderer_impl.cc

Issue 2541803003: media: remove unused functions: Renderer::HasAudio()/HasVideo() (Closed)
Patch Set: cast Created 4 years 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 | « media/remoting/remote_renderer_impl.h ('k') | media/renderers/renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remote_renderer_impl.cc
diff --git a/media/remoting/remote_renderer_impl.cc b/media/remoting/remote_renderer_impl.cc
index 77fac89d7e2830952d9dc85900584182d5786530..257b084484197ca7822edfaeef115f94b65f1754 100644
--- a/media/remoting/remote_renderer_impl.cc
+++ b/media/remoting/remote_renderer_impl.cc
@@ -218,16 +218,6 @@ base::TimeDelta RemoteRendererImpl::GetMediaTime() {
return current_media_time_;
}
-bool RemoteRendererImpl::HasAudio() {
- DCHECK(media_task_runner_->BelongsToCurrentThread());
- return audio_demuxer_stream_adapter_ ? true : false;
-}
-
-bool RemoteRendererImpl::HasVideo() {
- DCHECK(media_task_runner_->BelongsToCurrentThread());
- return video_demuxer_stream_adapter_ ? true : false;
-}
-
// static
void RemoteRendererImpl::OnDataPipeCreatedOnMainThread(
scoped_refptr<base::SingleThreadTaskRunner> media_task_runner,
« no previous file with comments | « media/remoting/remote_renderer_impl.h ('k') | media/renderers/renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698