1 // Copyright 2013 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 "content/renderer/media/active_loader.h"
7 #include "content/renderer/media/buffered_resource_loader.h"
8 #include "third_party/WebKit/public/platform/WebURLLoader.h"
12 ActiveLoader::ActiveLoader(scoped_ptr
<blink::WebURLLoader
> loader
)
13 : loader_(loader
.Pass()),
17 ActiveLoader::~ActiveLoader() {
21 void ActiveLoader::SetDeferred(bool deferred
) {
23 loader_
->setDefersLoading(deferred
);
26 } // namespace content