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

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

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.h
diff --git a/services/media/factory_service/audio_track_controller.h b/services/media/factory_service/audio_track_controller.h
index 6a60dc9e40d33ebd298e8d9b00a2a8ff4b3b6890..0674e419168e8192008c79d26baa43231235b3ee 100644
--- a/services/media/factory_service/audio_track_controller.h
+++ b/services/media/factory_service/audio_track_controller.h
@@ -18,8 +18,7 @@ class AudioTrackController {
public:
using GetSupportedMediaTypesCallback = std::function<void(
std::unique_ptr<std::vector<std::unique_ptr<StreamTypeSet>>>)>;
- using ConfigureCallback =
- std::function<void(MediaConsumerPtr, MediaTimelineControlSitePtr)>;
+ using ConfigureCallback = std::function<void(MediaConsumerPtr)>;
AudioTrackController(const String& url, ApplicationImpl* app);
@@ -32,6 +31,9 @@ class AudioTrackController {
void Configure(const std::unique_ptr<StreamType>& stream_type,
const ConfigureCallback& callback);
+ // Gets the timeline control site for the audio track.
+ void GetTimelineControlSite(InterfaceRequest<MediaTimelineControlSite> req);
+
private:
AudioTrackPtr audio_track_;
};

Powered by Google App Engine
This is Rietveld 408576698