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

Side by Side Diff: content/test/weburl_loader_mock.cc

Issue 1402933002: Revert "Post loading tasks on the appropriate WebFrameScheduler's queue." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 2 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
« no previous file with comments | « content/test/weburl_loader_mock.h ('k') | media/blink/mock_weburlloader.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 2013 The Chromium Authors. All rights reserved. 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 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 "content/test/weburl_loader_mock.h" 5 #include "content/test/weburl_loader_mock.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/child/web_url_loader_impl.h" 9 #include "content/child/web_url_loader_impl.h"
10 #include "content/test/weburl_loader_mock_factory.h" 10 #include "content/test/weburl_loader_mock_factory.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 140 }
141 141
142 void WebURLLoaderMock::setDefersLoading(bool deferred) { 142 void WebURLLoaderMock::setDefersLoading(bool deferred) {
143 is_deferred_ = deferred; 143 is_deferred_ = deferred;
144 if (using_default_loader_) { 144 if (using_default_loader_) {
145 default_loader_->setDefersLoading(deferred); 145 default_loader_->setDefersLoading(deferred);
146 return; 146 return;
147 } 147 }
148 NOTIMPLEMENTED(); 148 NOTIMPLEMENTED();
149 } 149 }
150
151 void WebURLLoaderMock::setLoadingTaskRunner(blink::WebTaskRunner*) {
152 NOTIMPLEMENTED();
153 }
OLDNEW
« no previous file with comments | « content/test/weburl_loader_mock.h ('k') | media/blink/mock_weburlloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698