| OLD | NEW |
| 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 | 8 |
| 9 namespace media { | 9 namespace media { |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 void MediaUrlDemuxer::CancelPendingSeek(base::TimeDelta seek_time) {} | 45 void MediaUrlDemuxer::CancelPendingSeek(base::TimeDelta seek_time) {} |
| 46 | 46 |
| 47 void MediaUrlDemuxer::Seek(base::TimeDelta time, | 47 void MediaUrlDemuxer::Seek(base::TimeDelta time, |
| 48 const PipelineStatusCB& status_cb) { | 48 const PipelineStatusCB& status_cb) { |
| 49 task_runner_->PostTask(FROM_HERE, base::Bind(status_cb, PIPELINE_OK)); | 49 task_runner_->PostTask(FROM_HERE, base::Bind(status_cb, PIPELINE_OK)); |
| 50 } | 50 } |
| 51 | 51 |
| 52 void MediaUrlDemuxer::Stop() {} | 52 void MediaUrlDemuxer::Stop() {} |
| 53 | 53 |
| 54 void MediaUrlDemuxer::AbortPendingReads() {} |
| 55 |
| 54 base::TimeDelta MediaUrlDemuxer::GetStartTime() const { | 56 base::TimeDelta MediaUrlDemuxer::GetStartTime() const { |
| 55 // TODO(tguilbert): Investigate if we need to fetch information from the | 57 // TODO(tguilbert): Investigate if we need to fetch information from the |
| 56 // MediaPlayerRender in order to return a sensible value here. | 58 // MediaPlayerRender in order to return a sensible value here. |
| 57 return base::TimeDelta(); | 59 return base::TimeDelta(); |
| 58 } | 60 } |
| 59 base::Time MediaUrlDemuxer::GetTimelineOffset() const { | 61 base::Time MediaUrlDemuxer::GetTimelineOffset() const { |
| 60 return base::Time(); | 62 return base::Time(); |
| 61 } | 63 } |
| 62 | 64 |
| 63 int64_t MediaUrlDemuxer::GetMemoryUsage() const { | 65 int64_t MediaUrlDemuxer::GetMemoryUsage() const { |
| 64 return 0; | 66 return 0; |
| 65 } | 67 } |
| 66 | 68 |
| 67 void MediaUrlDemuxer::OnEnabledAudioTracksChanged( | 69 void MediaUrlDemuxer::OnEnabledAudioTracksChanged( |
| 68 const std::vector<MediaTrack::Id>& track_ids, | 70 const std::vector<MediaTrack::Id>& track_ids, |
| 69 base::TimeDelta currTime) { | 71 base::TimeDelta currTime) { |
| 70 NOTIMPLEMENTED(); | 72 NOTIMPLEMENTED(); |
| 71 } | 73 } |
| 72 void MediaUrlDemuxer::OnSelectedVideoTrackChanged( | 74 void MediaUrlDemuxer::OnSelectedVideoTrackChanged( |
| 73 const std::vector<MediaTrack::Id>& track_ids, | 75 const std::vector<MediaTrack::Id>& track_ids, |
| 74 base::TimeDelta currTime) { | 76 base::TimeDelta currTime) { |
| 75 NOTIMPLEMENTED(); | 77 NOTIMPLEMENTED(); |
| 76 } | 78 } |
| 77 | 79 |
| 78 } // namespace media | 80 } // namespace media |
| OLD | NEW |