| Index: webkit/glue/media/buffered_data_source.cc
|
| diff --git a/webkit/glue/media/buffered_data_source.cc b/webkit/glue/media/buffered_data_source.cc
|
| index 2e91bcc6374e3d5e70fff38aced4c60bbd317c2b..c5e39b7d1fea100955c2d24eb44fb54609d63e2a 100644
|
| --- a/webkit/glue/media/buffered_data_source.cc
|
| +++ b/webkit/glue/media/buffered_data_source.cc
|
| @@ -253,6 +253,26 @@ void BufferedResourceLoader::SetAllowDefer(bool is_allowed) {
|
| DisableDeferIfNeeded();
|
| }
|
|
|
| +int64 BufferedResourceLoader::content_length() {
|
| + return content_length_;
|
| +}
|
| +
|
| +int64 BufferedResourceLoader::instance_size() {
|
| + return instance_size_;
|
| +}
|
| +
|
| +bool BufferedResourceLoader::partial_response() {
|
| + return partial_response_;
|
| +}
|
| +
|
| +bool BufferedResourceLoader::network_activity() {
|
| + return !completed_ && !deferred_;
|
| +}
|
| +
|
| +const GURL& BufferedResourceLoader::url() {
|
| + return url_;
|
| +}
|
| +
|
| void BufferedResourceLoader::SetURLLoaderForTest(WebURLLoader* mock_loader) {
|
| url_loader_.reset(mock_loader);
|
| keep_test_loader_ = true;
|
|
|