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

Side by Side Diff: webkit/support/weburl_loader_mock.cc

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | « webkit/support/weburl_loader_mock.h ('k') | webkit/support/weburl_loader_mock_factory.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/support/weburl_loader_mock.h" 5 #include "webkit/support/weburl_loader_mock.h"
6 6
7 #include "base/logging.h"
7 #include "third_party/WebKit/WebKit/chromium/public/WebData.h" 8 #include "third_party/WebKit/WebKit/chromium/public/WebData.h"
8 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h"
9 #include "webkit/support/weburl_loader_mock_factory.h" 10 #include "webkit/support/weburl_loader_mock_factory.h"
10 11
11 WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactory* factory, 12 WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactory* factory,
12 WebKit::WebURLLoader* default_loader) 13 WebKit::WebURLLoader* default_loader)
13 : factory_(factory), 14 : factory_(factory),
14 client_(NULL), 15 client_(NULL),
15 default_loader_(default_loader), 16 default_loader_(default_loader),
16 using_default_loader_(false) { 17 using_default_loader_(false) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 factory_->CancelLoad(this); 65 factory_->CancelLoad(this);
65 } 66 }
66 67
67 void WebURLLoaderMock::setDefersLoading(bool deferred) { 68 void WebURLLoaderMock::setDefersLoading(bool deferred) {
68 if (using_default_loader_) { 69 if (using_default_loader_) {
69 default_loader_->setDefersLoading(deferred); 70 default_loader_->setDefersLoading(deferred);
70 return; 71 return;
71 } 72 }
72 NOTIMPLEMENTED(); 73 NOTIMPLEMENTED();
73 } 74 }
OLDNEW
« no previous file with comments | « webkit/support/weburl_loader_mock.h ('k') | webkit/support/weburl_loader_mock_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698