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

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

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/logging.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" 8 #include "third_party/WebKit/public/platform/WebData.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" 9 #include "third_party/WebKit/public/platform/WebURLError.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoaderClient. h" 10 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
11 #include "webkit/support/weburl_loader_mock_factory.h" 11 #include "webkit/support/weburl_loader_mock_factory.h"
12 12
13 WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactory* factory, 13 WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactory* factory,
14 WebKit::WebURLLoader* default_loader) 14 WebKit::WebURLLoader* default_loader)
15 : factory_(factory), 15 : factory_(factory),
16 client_(NULL), 16 client_(NULL),
17 default_loader_(default_loader), 17 default_loader_(default_loader),
18 using_default_loader_(false), 18 using_default_loader_(false),
19 is_deferred_(false) { 19 is_deferred_(false) {
20 } 20 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 83 }
84 84
85 void WebURLLoaderMock::setDefersLoading(bool deferred) { 85 void WebURLLoaderMock::setDefersLoading(bool deferred) {
86 is_deferred_ = deferred; 86 is_deferred_ = deferred;
87 if (using_default_loader_) { 87 if (using_default_loader_) {
88 default_loader_->setDefersLoading(deferred); 88 default_loader_->setDefersLoading(deferred);
89 return; 89 return;
90 } 90 }
91 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
92 } 92 }
OLDNEW
« no previous file with comments | « webkit/support/weburl_loader_mock.h ('k') | webkit/support/weburl_loader_mock_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698