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

Unified Diff: services/media/audio/audio_server_impl.cc

Issue 2069873003: Motown: Define MediaRenderer and make it the way we identify renderers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix build break...audio_track_controller.* gone for good. Created 4 years, 6 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 | « services/media/audio/audio_server_impl.h ('k') | services/media/audio/audio_track_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/audio/audio_server_impl.cc
diff --git a/services/media/audio/audio_server_impl.cc b/services/media/audio/audio_server_impl.cc
index 1811774ad7a545457f5a24865c4d4c5486d78756..c5a6131fa6c2490b087a57bb853d5a68166dac59 100644
--- a/services/media/audio/audio_server_impl.cc
+++ b/services/media/audio/audio_server_impl.cc
@@ -58,8 +58,9 @@ void AudioServerImpl::Shutdown() {
DoPacketCleanup();
}
-void AudioServerImpl::CreateTrack(InterfaceRequest<AudioTrack> track) {
- tracks_.insert(AudioTrackImpl::Create(track.Pass(), this));
+void AudioServerImpl::CreateTrack(InterfaceRequest<AudioTrack> track,
+ InterfaceRequest<MediaRenderer> renderer) {
+ tracks_.insert(AudioTrackImpl::Create(track.Pass(), renderer.Pass(), this));
}
void AudioServerImpl::DoPacketCleanup() {
« no previous file with comments | « services/media/audio/audio_server_impl.h ('k') | services/media/audio/audio_track_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698