| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_ |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 private: | 186 private: |
| 187 // Indicates whether or not this is the main URLRequestContext. | 187 // Indicates whether or not this is the main URLRequestContext. |
| 188 bool is_main_; | 188 bool is_main_; |
| 189 | 189 |
| 190 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 190 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 } // namespace net | 193 } // namespace net |
| 194 | 194 |
| 195 // TODO(tfarina): Fix the callers and remove this! | |
| 196 typedef net::URLRequestContext URLRequestContext; | |
| 197 | |
| 198 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 195 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
| OLD | NEW |