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

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

Issue 2090343004: Add GetUrl to DemuxerStreamProvider interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added UTs Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/fake_demuxer_stream.h" 5 #include "media/base/fake_demuxer_stream.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 FakeDemuxerStreamProvider::~FakeDemuxerStreamProvider() { 217 FakeDemuxerStreamProvider::~FakeDemuxerStreamProvider() {
218 } 218 }
219 219
220 DemuxerStream* FakeDemuxerStreamProvider::GetStream(DemuxerStream::Type type) { 220 DemuxerStream* FakeDemuxerStreamProvider::GetStream(DemuxerStream::Type type) {
221 if (type == DemuxerStream::Type::AUDIO) 221 if (type == DemuxerStream::Type::AUDIO)
222 return nullptr; 222 return nullptr;
223 return &fake_video_stream_; 223 return &fake_video_stream_;
224 }; 224 };
225 225
226 GURL* FakeDemuxerStreamProvider::GetUrl() {
227 return nullptr;
228 };
229
226 } // namespace media 230 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698