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

Unified Diff: media/base/pipeline_impl_unittest.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 | « content/renderer/media/android/media_player_renderer_client.cc ('k') | media/base/renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl_unittest.cc
diff --git a/media/base/pipeline_impl_unittest.cc b/media/base/pipeline_impl_unittest.cc
index a654c12040c00bc83af05c0a32887e248b3ca46a..424450eafcbeb118ae2ef065faee4a74da7e8c74 100644
--- a/media/base/pipeline_impl_unittest.cc
+++ b/media/base/pipeline_impl_unittest.cc
@@ -171,8 +171,6 @@ class PipelineImplTest : public ::testing::Test {
EXPECT_CALL(*renderer_, Initialize(_, _, _))
.WillOnce(
DoAll(SaveArg<1>(&renderer_client_), PostCallback<2>(PIPELINE_OK)));
- EXPECT_CALL(*renderer_, HasAudio()).WillRepeatedly(Return(audio_stream()));
- EXPECT_CALL(*renderer_, HasVideo()).WillRepeatedly(Return(video_stream()));
}
void AddTextStream() {
@@ -910,9 +908,6 @@ class PipelineTeardownTest : public PipelineImplTest {
streams.push_back(video_stream());
SetDemuxerExpectations(&streams, base::TimeDelta::FromSeconds(3000));
- EXPECT_CALL(*renderer_, HasAudio()).WillRepeatedly(Return(true));
- EXPECT_CALL(*renderer_, HasVideo()).WillRepeatedly(Return(true));
-
if (state == kInitRenderer) {
if (stop_or_error == kStop) {
EXPECT_CALL(*renderer_, Initialize(_, _, _))
« no previous file with comments | « content/renderer/media/android/media_player_renderer_client.cc ('k') | media/base/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698