blob: 48f76091f3112b91b231700dc90d962039c8ea0d [file] [log] [blame]
// Copyright (c) 2012 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 {
DataSource::DataSource() = default;
DataSource::~DataSource() = default;
bool DataSource::AssumeFullyBuffered() const {
return true;
}
int64_t DataSource::GetMemoryUsage() {
int64_t temp;
return GetSize(&temp) ? temp : 0;
}
} // namespace media