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

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

Issue 591203003: media: Pass DemuxerStreamProvider in Renderer::Initialize(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 6 years, 2 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/mojo_renderer_impl.cc ('k') | media/tools/player_x11/player_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/renderer_unittest.cc
diff --git a/media/mojo/services/renderer_unittest.cc b/media/mojo/services/renderer_unittest.cc
index e41557e082e75bfd061b79e9f77118ecd5310d26..e9fbb67770fe4cd507dcf78a22e20258093fa527 100644
--- a/media/mojo/services/renderer_unittest.cc
+++ b/media/mojo/services/renderer_unittest.cc
@@ -141,9 +141,10 @@ void ErrorCallback(PipelineStatus* output, PipelineStatus status) {
// connection. The test also initializes a media::AudioRendererImpl which
// will error-out expectedly due to lack of support for decoder selection.
TEST_F(MojoRendererTest, BasicInitialize) {
- MojoRendererImpl rimpl(task_runner(), stream_provider(), service_provider());
+ MojoRendererImpl rimpl(task_runner(), service_provider());
PipelineStatus expected_error(PIPELINE_OK);
- rimpl.Initialize(base::MessageLoop::current()->QuitClosure(),
+ rimpl.Initialize(stream_provider(),
+ base::MessageLoop::current()->QuitClosure(),
media::StatisticsCB(),
base::Closure(),
base::Bind(&ErrorCallback, &expected_error),
« no previous file with comments | « media/mojo/services/mojo_renderer_impl.cc ('k') | media/tools/player_x11/player_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698