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

Side by Side Diff: media/base/media_url_demuxer.cc

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 unified diff | Download patch
« no previous file with comments | « media/base/media_url_demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_url_demuxer.h" 5 #include "media/base/media_url_demuxer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 base::Time MediaUrlDemuxer::GetTimelineOffset() const { 68 base::Time MediaUrlDemuxer::GetTimelineOffset() const {
69 return base::Time(); 69 return base::Time();
70 } 70 }
71 71
72 int64_t MediaUrlDemuxer::GetMemoryUsage() const { 72 int64_t MediaUrlDemuxer::GetMemoryUsage() const {
73 return 0; 73 return 0;
74 } 74 }
75 75
76 void MediaUrlDemuxer::OnEnabledAudioTracksChanged( 76 void MediaUrlDemuxer::OnEnabledAudioTracksChanged(
77 const std::vector<MediaTrack::Id>& track_ids, 77 const std::vector<MediaTrack::Id>& track_ids,
78 base::TimeDelta currTime) { 78 base::TimeDelta curr_time) {
79 NOTIMPLEMENTED(); 79 NOTIMPLEMENTED();
80 } 80 }
81 void MediaUrlDemuxer::OnSelectedVideoTrackChanged( 81 void MediaUrlDemuxer::OnSelectedVideoTrackChanged(
82 const std::vector<MediaTrack::Id>& track_ids, 82 base::Optional<MediaTrack::Id> selected_track_id,
83 base::TimeDelta currTime) { 83 base::TimeDelta curr_time) {
84 NOTIMPLEMENTED(); 84 NOTIMPLEMENTED();
85 } 85 }
86 86
87 } // namespace media 87 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_url_demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698