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

Unified Diff: media/mojo/services/test_mojo_media_client.h

Issue 2016053003: Add audio_device_id in mojo media ServiceFactory CreateRenderer api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Change all places that uses CreateRenderer api to pass in a device_id. Created 4 years, 7 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
Index: media/mojo/services/test_mojo_media_client.h
diff --git a/media/mojo/services/test_mojo_media_client.h b/media/mojo/services/test_mojo_media_client.h
index 5494e36569e0d156e70328d79ba1d112678b8628..99df4313a9acb6f32911f5318b82ef9b5ebb1477 100644
--- a/media/mojo/services/test_mojo_media_client.h
+++ b/media/mojo/services/test_mojo_media_client.h
@@ -29,7 +29,8 @@ class TestMojoMediaClient : public MojoMediaClient {
void WillQuit() final;
std::unique_ptr<RendererFactory> CreateRendererFactory(
const scoped_refptr<MediaLog>& media_log) final;
- AudioRendererSink* CreateAudioRendererSink() final;
+ AudioRendererSink* CreateAudioRendererSink(
+ const std::string& device_id) final;
VideoRendererSink* CreateVideoRendererSink(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final;
std::unique_ptr<CdmFactory> CreateCdmFactory(

Powered by Google App Engine
This is Rietveld 408576698