ananta | e60d1d4 | 2017-06-20 04:16:27 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Kinuko Yasuda | 7f3e172 | 2018-03-26 08:58:58 | [diff] [blame] | 5 | #include "content/browser/loader/navigation_loader_interceptor.h" |
ananta | e60d1d4 | 2017-06-20 04:16:27 | [diff] [blame] | 6 | |
Kinuko Yasuda | 250577c | 2017-10-29 02:51:24 | [diff] [blame] | 7 | #include "content/common/navigation_subresource_loader_params.h" |
| 8 | |
ananta | e60d1d4 | 2017-06-20 04:16:27 | [diff] [blame] | 9 | namespace content { |
| 10 | |
Kinuko Yasuda | 250577c | 2017-10-29 02:51:24 | [diff] [blame] | 11 | base::Optional<SubresourceLoaderParams> |
Kinuko Yasuda | 7f3e172 | 2018-03-26 08:58:58 | [diff] [blame] | 12 | NavigationLoaderInterceptor::MaybeCreateSubresourceLoaderParams() { |
Kinuko Yasuda | 250577c | 2017-10-29 02:51:24 | [diff] [blame] | 13 | return base::nullopt; |
ananta | e60d1d4 | 2017-06-20 04:16:27 | [diff] [blame] | 14 | } |
| 15 | |
Kinuko Yasuda | 7f3e172 | 2018-03-26 08:58:58 | [diff] [blame] | 16 | bool NavigationLoaderInterceptor::MaybeCreateLoaderForResponse( |
John Abd-El-Malek | 4624803 | 2018-01-17 19:11:23 | [diff] [blame] | 17 | const network::ResourceResponseHead& response, |
John Abd-El-Malek | b165dc5 | 2018-01-18 17:12:18 | [diff] [blame] | 18 | network::mojom::URLLoaderPtr* loader, |
Tsuyoshi Horo | b8d512a | 2018-01-25 17:01:59 | [diff] [blame] | 19 | network::mojom::URLLoaderClientRequest* client_request, |
| 20 | ThrottlingURLLoader* url_loader) { |
ananta | b9800e5 | 2017-07-29 18:04:13 | [diff] [blame] | 21 | return false; |
| 22 | } |
| 23 | |
Kinuko Yasuda | 250577c | 2017-10-29 02:51:24 | [diff] [blame] | 24 | } // namespace content |