Index: media/base/data_source.cc |
diff --git a/media/base/data_source.cc b/media/base/data_source.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..32327c256431cdd3a58342705454cc4b25f562c8 |
--- /dev/null |
+++ b/media/base/data_source.cc |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "media/base/data_source.h" |
+ |
+namespace media { |
+ |
+// static |
+const size_t DataSource::kReadError = static_cast<size_t>(-1); |
+ |
+DataSource::DataSource() : host_(NULL) {} |
+ |
+DataSource::~DataSource() {} |
+ |
+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.
|
+ |
+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.
|
+ |
+DataSourceHost* DataSource::host() { return host_; } |
+ |
+} // namespace media |