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

Unified Diff: chromecast/media/service/cast_renderer.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 | « chromecast/media/service/cast_renderer.h ('k') | content/browser/media/android/media_player_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/service/cast_renderer.cc
diff --git a/chromecast/media/service/cast_renderer.cc b/chromecast/media/service/cast_renderer.cc
index 82dbe8e3f94f7117ad83c5597e0d6adf3034402b..aa3ae067644ddc8c5fcbbe77667e5a653c156fe4 100644
--- a/chromecast/media/service/cast_renderer.cc
+++ b/chromecast/media/service/cast_renderer.cc
@@ -209,16 +209,6 @@ base::TimeDelta CastRenderer::GetMediaTime() {
return pipeline_->GetMediaTime();
}
-bool CastRenderer::HasAudio() {
- DCHECK(task_runner_->BelongsToCurrentThread());
- return pipeline_->HasAudio();
-}
-
-bool CastRenderer::HasVideo() {
- DCHECK(task_runner_->BelongsToCurrentThread());
- return pipeline_->HasVideo();
-}
-
void CastRenderer::OnVideoResolutionPolicyChanged() {
DCHECK(task_runner_->BelongsToCurrentThread());
if (!video_resolution_policy_)
« no previous file with comments | « chromecast/media/service/cast_renderer.h ('k') | content/browser/media/android/media_player_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698