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_CONTEXT_H_ | 5 #ifndef CONTENT_NETWORK_NETWORK_CONTEXT_H_ |
6 #define CONTENT_NETWORK_NETWORK_CONTEXT_H_ | 6 #define CONTENT_NETWORK_NETWORK_CONTEXT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/common/network_service.mojom.h" | 15 #include "content/public/common/network_service.mojom.h" |
16 #include "content/common/url_loader_factory.mojom.h" | 16 #include "content/public/common/url_loader_factory.mojom.h" |
17 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
18 #include "mojo/public/cpp/bindings/strong_binding_set.h" | 18 #include "mojo/public/cpp/bindings/strong_binding_set.h" |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 class URLRequestContext; | 21 class URLRequestContext; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class NetworkService; | 25 class NetworkService; |
26 class URLLoaderImpl; | 26 class URLLoaderImpl; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 mojom::NetworkContextParamsPtr params_; | 76 mojom::NetworkContextParamsPtr params_; |
77 | 77 |
78 mojo::Binding<mojom::NetworkContext> binding_; | 78 mojo::Binding<mojom::NetworkContext> binding_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(NetworkContext); | 80 DISALLOW_COPY_AND_ASSIGN(NetworkContext); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace content | 83 } // namespace content |
84 | 84 |
85 #endif // CONTENT_NETWORK_NETWORK_CONTEXT_H_ | 85 #endif // CONTENT_NETWORK_NETWORK_CONTEXT_H_ |
OLD | NEW |