OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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/network/network_service_url_loader_factory_impl.h" | 5 #include "content/network/network_service_url_loader_factory_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/common/resource_request.h" | |
9 #include "content/network/url_loader_impl.h" | 8 #include "content/network/url_loader_impl.h" |
| 9 #include "content/public/common/resource_request.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 NetworkServiceURLLoaderFactoryImpl::NetworkServiceURLLoaderFactoryImpl( | 13 NetworkServiceURLLoaderFactoryImpl::NetworkServiceURLLoaderFactoryImpl( |
14 NetworkContext* context, | 14 NetworkContext* context, |
15 uint32_t process_id) | 15 uint32_t process_id) |
16 : context_(context), process_id_(process_id) { | 16 : context_(context), process_id_(process_id) { |
17 ignore_result(process_id_); | 17 ignore_result(process_id_); |
18 } | 18 } |
19 | 19 |
(...skipping 19 matching lines...) Expand all Loading... |
39 const ResourceRequest& url_request, | 39 const ResourceRequest& url_request, |
40 SyncLoadCallback callback) { | 40 SyncLoadCallback callback) { |
41 NOTIMPLEMENTED(); | 41 NOTIMPLEMENTED(); |
42 | 42 |
43 SyncLoadResult result; | 43 SyncLoadResult result; |
44 result.error_code = net::ERR_NOT_IMPLEMENTED; | 44 result.error_code = net::ERR_NOT_IMPLEMENTED; |
45 std::move(callback).Run(result); | 45 std::move(callback).Run(result); |
46 } | 46 } |
47 | 47 |
48 } // namespace content | 48 } // namespace content |
OLD | NEW |