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

Unified Diff: media/mojo/services/media_service_unittest.cc

Issue 2383663002: Make mojo renderer capable of supporting multiple streams/tracks (Closed)
Patch Set: nit Created 3 years, 11 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
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/mojo_renderer_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_service_unittest.cc
diff --git a/media/mojo/services/media_service_unittest.cc b/media/mojo/services/media_service_unittest.cc
index ee079383590172c2e652b05b353283b91da0c3a8..c5f9ef51faa0bdeac4b023072be62a50515f9195 100644
--- a/media/mojo/services/media_service_unittest.cc
+++ b/media/mojo/services/media_service_unittest.cc
@@ -138,9 +138,10 @@ class MediaServiceTest : public service_manager::test::ServiceTest {
EXPECT_CALL(*this, OnRendererInitialized(expected_result))
.Times(Exactly(1))
.WillOnce(InvokeWithoutArgs(run_loop_.get(), &base::RunLoop::Quit));
- renderer_->Initialize(std::move(client_ptr_info), nullptr,
- std::move(video_stream_proxy), base::nullopt,
- base::nullopt,
+ std::vector<mojom::DemuxerStreamPtr> streams;
+ streams.push_back(std::move(video_stream_proxy));
+ renderer_->Initialize(std::move(client_ptr_info), std::move(streams),
+ base::nullopt, base::nullopt,
base::Bind(&MediaServiceTest::OnRendererInitialized,
base::Unretained(this)));
}
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/mojo_renderer_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698