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 #ifndef CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ | 5 #ifndef CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ |
6 #define CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ | 6 #define CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/common/url_loader_factory.mojom.h" | 9 #include "content/common/url_loader_factory.mojom.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 // mojom::URLLoaderFactory implementation. | 24 // mojom::URLLoaderFactory implementation. |
25 void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request, | 25 void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request, |
26 int32_t routing_id, | 26 int32_t routing_id, |
27 int32_t request_id, | 27 int32_t request_id, |
28 uint32_t options, | 28 uint32_t options, |
29 const ResourceRequest& url_request, | 29 const ResourceRequest& url_request, |
30 mojom::URLLoaderClientPtr client) override; | 30 mojom::URLLoaderClientPtr client) override; |
31 void SyncLoad(int32_t routing_id, | 31 void SyncLoad(int32_t routing_id, |
32 int32_t request_id, | 32 int32_t request_id, |
33 const ResourceRequest& request, | 33 const ResourceRequest& request, |
34 const SyncLoadCallback& callback) override; | 34 SyncLoadCallback callback) override; |
35 | 35 |
36 private: | 36 private: |
37 // Not owned. | 37 // Not owned. |
38 NetworkContext* context_; | 38 NetworkContext* context_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); | 40 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
44 | 44 |
45 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ | 45 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ |
OLD | NEW |