OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "media/base/data_source.h" | |
6 | |
7 namespace media { | |
8 | |
9 // static | |
10 const size_t DataSource::kReadError = static_cast<size_t>(-1); | |
11 | |
12 DataSource::DataSource() : host_(NULL) {} | |
13 | |
14 DataSource::~DataSource() {} | |
15 | |
16 void DataSource::set_host(DataSourceHost* host) { host_ = host; } | |
Ami GONE FROM CHROMIUM
2011/12/15 18:39:08
Filter::set_host() is more DCHECK-happy. Wanna co
acolwell GONE FROM CHROMIUM
2011/12/15 20:57:59
Done.
| |
17 | |
18 void DataSource::SetPlaybackRate(float playback_rate) {} | |
Ami GONE FROM CHROMIUM
2011/12/15 18:39:08
I wonder if this wouldn't be better off pure-virtu
acolwell GONE FROM CHROMIUM
2011/12/15 20:57:59
So this is another artifact of how we handle diffe
Ami GONE FROM CHROMIUM
2011/12/15 22:39:18
I don't care.
| |
19 | |
20 DataSourceHost* DataSource::host() { return host_; } | |
21 | |
22 } // namespace media | |
OLD | NEW |