Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: webkit/media/active_loader.cc

Issue 11887029: Update some #includes in webkit/media for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/media/audio_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/media/active_loader.h" 5 #include "webkit/media/active_loader.h"
6 6
7 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader .h" 7 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoader.h"
8 #include "webkit/media/buffered_resource_loader.h" 8 #include "webkit/media/buffered_resource_loader.h"
9 9
10 namespace webkit_media { 10 namespace webkit_media {
11 11
12 ActiveLoader::ActiveLoader(scoped_ptr<WebKit::WebURLLoader> loader) 12 ActiveLoader::ActiveLoader(scoped_ptr<WebKit::WebURLLoader> loader)
13 : loader_(loader.Pass()), 13 : loader_(loader.Pass()),
14 deferred_(false) { 14 deferred_(false) {
15 } 15 }
16 16
17 ActiveLoader::~ActiveLoader() { 17 ActiveLoader::~ActiveLoader() {
18 loader_->cancel(); 18 loader_->cancel();
19 } 19 }
20 20
21 void ActiveLoader::SetDeferred(bool deferred) { 21 void ActiveLoader::SetDeferred(bool deferred) {
22 deferred_ = deferred; 22 deferred_ = deferred;
23 loader_->setDefersLoading(deferred); 23 loader_->setDefersLoading(deferred);
24 } 24 }
25 25
26 } // namespace webkit_media 26 } // namespace webkit_media
OLDNEW
« no previous file with comments | « no previous file | webkit/media/audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698