| 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 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ | 5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ |
| 6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_ | 6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_ |
| 7 | 7 |
| 8 #include "base/platform_file.h" |
| 8 #include "base/time.h" | 9 #include "base/time.h" |
| 9 #include "net/base/auth.h" | 10 #include "net/base/auth.h" |
| 10 #include "net/base/ssl_info.h" | 11 #include "net/base/ssl_info.h" |
| 11 #include "net/http/http_vary_data.h" | 12 #include "net/http/http_vary_data.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 class HttpResponseHeaders; | 16 class HttpResponseHeaders; |
| 16 | 17 |
| 17 class HttpResponseInfo { | 18 class HttpResponseInfo { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 41 scoped_refptr<AuthChallengeInfo> auth_challenge; | 42 scoped_refptr<AuthChallengeInfo> auth_challenge; |
| 42 | 43 |
| 43 // The SSL connection info (if HTTPS). | 44 // The SSL connection info (if HTTPS). |
| 44 SSLInfo ssl_info; | 45 SSLInfo ssl_info; |
| 45 | 46 |
| 46 // The parsed response headers and status line. | 47 // The parsed response headers and status line. |
| 47 scoped_refptr<HttpResponseHeaders> headers; | 48 scoped_refptr<HttpResponseHeaders> headers; |
| 48 | 49 |
| 49 // The "Vary" header data for this response. | 50 // The "Vary" header data for this response. |
| 50 HttpVaryData vary_data; | 51 HttpVaryData vary_data; |
| 52 |
| 53 // Platform specific file handle to the response data, if response data is |
| 54 // not in a standalone file, its value is base::kInvalidPlatformFileValue. |
| 55 base::PlatformFile response_data_file; |
| 51 }; | 56 }; |
| 52 | 57 |
| 53 } // namespace net | 58 } // namespace net |
| 54 | 59 |
| 55 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ | 60 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ |
| OLD | NEW |