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

Unified Diff: services/media/factory_service/audio_track_controller.cc

Issue 2006093004: Motown: Convert MediaSink to expose MediaTimelineControlSite (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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: services/media/factory_service/audio_track_controller.cc
diff --git a/services/media/factory_service/audio_track_controller.cc b/services/media/factory_service/audio_track_controller.cc
index 3b85597eac6de0487912e3b8558c14fd1664cbc8..5db316cafda4826b47075aa4a87a526aee0b6c1a 100644
--- a/services/media/factory_service/audio_track_controller.cc
+++ b/services/media/factory_service/audio_track_controller.cc
@@ -45,10 +45,12 @@ void AudioTrackController::Configure(
MediaConsumerPtr consumer;
audio_track_->Configure(config.Pass(), GetProxy(&consumer));
- MediaTimelineControlSitePtr timeline_control_site;
- audio_track_->GetTimelineControlSite(GetProxy(&timeline_control_site));
+ callback(consumer.Pass());
+}
- callback(consumer.Pass(), timeline_control_site.Pass());
+void AudioTrackController::GetTimelineControlSite(
+ InterfaceRequest<MediaTimelineControlSite> req) {
+ audio_track_->GetTimelineControlSite(req.Pass());
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698