| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
| 14 #include "base/scoped_ptr.h" | |
| 15 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 16 #include "net/base/cookie_policy.h" | 15 #include "net/base/cookie_policy.h" |
| 17 #include "net/ftp/ftp_auth_cache.h" | 16 #include "net/ftp/ftp_auth_cache.h" |
| 18 | 17 |
| 19 namespace net { | 18 namespace net { |
| 20 class HttpTransactionFactory; | 19 class HttpTransactionFactory; |
| 21 class CookieMonster; | 20 class CookieMonster; |
| 22 class ProxyService; | 21 class ProxyService; |
| 23 } | 22 } |
| 24 | 23 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 net::CookiePolicy cookie_policy_; | 76 net::CookiePolicy cookie_policy_; |
| 78 net::FtpAuthCache ftp_auth_cache_; | 77 net::FtpAuthCache ftp_auth_cache_; |
| 79 std::string accept_language_; | 78 std::string accept_language_; |
| 80 std::string accept_charset_; | 79 std::string accept_charset_; |
| 81 | 80 |
| 82 private: | 81 private: |
| 83 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 82 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 85 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| OLD | NEW |