cros: Don't check consume kiosk flag for enterprise managed device.
[chromium-blink-merge.git] / media / base / data_source.cc
blobc25f9e73d627395bc32d278a9f4b215c35c6f865
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"
9 namespace media {
11 // static
12 const int DataSource::kReadError = -1;
14 DataSourceHost::~DataSourceHost() {}
16 DataSource::DataSource() : host_(NULL) {}
18 DataSource::~DataSource() {}
20 void DataSource::set_host(DataSourceHost* host) {
21 DCHECK(host);
22 DCHECK(!host_);
23 host_ = host;
26 void DataSource::SetPlaybackRate(float playback_rate) {}
28 DataSourceHost* DataSource::host() { return host_; }
30 } // namespace media