| 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/public/common/url_loader_factory.mojom.h" |
| 10 #include "net/traffic_annotation/network_traffic_annotation.h" | 10 #include "net/traffic_annotation/network_traffic_annotation.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 class NetworkContext; | 14 class NetworkContext; |
| 15 | 15 |
| 16 // This class is an implementation of mojom::URLLoaderFactory that creates | 16 // This class is an implementation of mojom::URLLoaderFactory that creates |
| 17 // a mojom::URLLoader. | 17 // a mojom::URLLoader. |
| 18 class NetworkServiceURLLoaderFactoryImpl : public mojom::URLLoaderFactory { | 18 class NetworkServiceURLLoaderFactoryImpl : public mojom::URLLoaderFactory { |
| 19 public: | 19 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 41 // Not owned. | 41 // Not owned. |
| 42 NetworkContext* context_; | 42 NetworkContext* context_; |
| 43 int process_id_; | 43 int process_id_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); | 45 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace content | 48 } // namespace content |
| 49 | 49 |
| 50 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ | 50 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ |
| OLD | NEW |