OLD | NEW |
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 Loading... |
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 } | |
OLD | NEW |