| 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 useful when processing resource requests. | 6 // that's useful when processing resource requests. |
| 7 // The class is reference-counted so that it can be cleaned up after any | 7 // The class is reference-counted so that it can be cleaned up after any |
| 8 // requests that are using it have been completed. | 8 // requests that are using it have been completed. |
| 9 | 9 |
| 10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| 11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| 12 | 12 |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
| 21 #include "net/base/net_log.h" | 21 #include "net/base/net_log.h" |
| 22 #include "net/base/ssl_config_service.h" | 22 #include "net/ftp/ftp_auth_cache.h" |
| 23 #include "net/base/transport_security_state.h" | |
| 24 #include "net/http/http_network_session.h" | 23 #include "net/http/http_network_session.h" |
| 25 #include "net/http/http_server_properties.h" | 24 #include "net/http/http_server_properties.h" |
| 26 #include "net/ftp/ftp_auth_cache.h" | 25 #include "net/ssl/ssl_config_service.h" |
| 26 #include "net/ssl/transport_security_state.h" |
| 27 #include "net/url_request/url_request.h" | 27 #include "net/url_request/url_request.h" |
| 28 | 28 |
| 29 namespace net { | 29 namespace net { |
| 30 class CertVerifier; | 30 class CertVerifier; |
| 31 class CookieStore; | 31 class CookieStore; |
| 32 class FraudulentCertificateReporter; | 32 class FraudulentCertificateReporter; |
| 33 class FtpTransactionFactory; | 33 class FtpTransactionFactory; |
| 34 class HostResolver; | 34 class HostResolver; |
| 35 class HttpAuthHandlerFactory; | 35 class HttpAuthHandlerFactory; |
| 36 class HttpTransactionFactory; | 36 class HttpTransactionFactory; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 // --------------------------------------------------------------------------- | 256 // --------------------------------------------------------------------------- |
| 257 | 257 |
| 258 scoped_ptr<std::set<const URLRequest*> > url_requests_; | 258 scoped_ptr<std::set<const URLRequest*> > url_requests_; |
| 259 | 259 |
| 260 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 260 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 } // namespace net | 263 } // namespace net |
| 264 | 264 |
| 265 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 265 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| OLD | NEW |