| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This class represents contextual information (cookies, cache, etc.) | 5 // This class represents contextual information (cookies, cache, etc.) |
| 6 // that's necessary when processing resource requests. | 6 // that's necessary when processing resource requests. |
| 7 | 7 |
| 8 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 8 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| 9 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 9 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
| 19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| 20 #include "net/base/request_priority.h" | 20 #include "net/base/request_priority.h" |
| 21 #include "net/http/http_network_session.h" | 21 #include "net/http/http_network_session.h" |
| 22 #include "net/http/http_server_properties.h" | 22 #include "net/http/http_server_properties.h" |
| 23 #include "net/http/transport_security_state.h" | 23 #include "net/http/transport_security_state.h" |
| 24 #include "net/log/net_log.h" | |
| 25 #include "net/ssl/ssl_config_service.h" | 24 #include "net/ssl/ssl_config_service.h" |
| 26 #include "net/url_request/url_request.h" | 25 #include "net/url_request/url_request.h" |
| 27 | 26 |
| 28 namespace net { | 27 namespace net { |
| 29 class CertVerifier; | 28 class CertVerifier; |
| 30 class ChannelIDService; | 29 class ChannelIDService; |
| 31 class CookieStore; | 30 class CookieStore; |
| 32 class CTPolicyEnforcer; | 31 class CTPolicyEnforcer; |
| 33 class CTVerifier; | 32 class CTVerifier; |
| 34 class HostResolver; | 33 class HostResolver; |
| 35 class HttpAuthHandlerFactory; | 34 class HttpAuthHandlerFactory; |
| 36 class HttpTransactionFactory; | 35 class HttpTransactionFactory; |
| 37 class HttpUserAgentSettings; | 36 class HttpUserAgentSettings; |
| 37 class NetLog; |
| 38 class NetworkDelegate; | 38 class NetworkDelegate; |
| 39 class NetworkQualityEstimator; | 39 class NetworkQualityEstimator; |
| 40 class SdchManager; | 40 class SdchManager; |
| 41 class ProxyService; | 41 class ProxyService; |
| 42 class URLRequest; | 42 class URLRequest; |
| 43 class URLRequestBackoffManager; | 43 class URLRequestBackoffManager; |
| 44 class URLRequestJobFactory; | 44 class URLRequestJobFactory; |
| 45 class URLRequestThrottlerManager; | 45 class URLRequestThrottlerManager; |
| 46 | 46 |
| 47 // Subclass to provide application-specific context for URLRequest | 47 // Subclass to provide application-specific context for URLRequest |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 // following redirects. TODO(estark): remove this flag once | 281 // following redirects. TODO(estark): remove this flag once |
| 282 // Referrer-Policy ships (https://crbug.com/619228). | 282 // Referrer-Policy ships (https://crbug.com/619228). |
| 283 bool enable_referrer_policy_header_; | 283 bool enable_referrer_policy_header_; |
| 284 | 284 |
| 285 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 285 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 } // namespace net | 288 } // namespace net |
| 289 | 289 |
| 290 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 290 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| OLD | NEW |