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

Unified Diff: media/base/media_url_demuxer.h

Issue 2718483003: Use base::Optional for selected video track. (Closed)
Patch Set: rebase Created 3 years, 10 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/base/demuxer.h ('k') | media/base/media_url_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_url_demuxer.h
diff --git a/media/base/media_url_demuxer.h b/media/base/media_url_demuxer.h
index 7f996526afa433bb145aaa91cdb4bfbf1fb917b5..599cf8284c1e78e2c8491dddfec4ac2269b402ec 100644
--- a/media/base/media_url_demuxer.h
+++ b/media/base/media_url_demuxer.h
@@ -58,9 +58,10 @@ class MEDIA_EXPORT MediaUrlDemuxer : public Demuxer {
base::Time GetTimelineOffset() const override;
int64_t GetMemoryUsage() const override;
void OnEnabledAudioTracksChanged(const std::vector<MediaTrack::Id>& track_ids,
- base::TimeDelta currTime) override;
- void OnSelectedVideoTrackChanged(const std::vector<MediaTrack::Id>& track_ids,
- base::TimeDelta currTime) override;
+ base::TimeDelta curr_time) override;
+ void OnSelectedVideoTrackChanged(
+ base::Optional<MediaTrack::Id> selected_track_id,
+ base::TimeDelta curr_time) override;
private:
MediaUrlParams params_;
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/media_url_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698