1 // Copyright (c) 2012 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.
5 #include "media/base/data_source.h"
7 #include "base/logging.h"
12 const int DataSource::kReadError
= -1;
14 DataSourceHost::~DataSourceHost() {}
16 DataSource::DataSource() : host_(NULL
) {}
18 DataSource::~DataSource() {}
20 void DataSource::set_host(DataSourceHost
* host
) {
26 DataSourceHost
* DataSource::host() { return host_
; }