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