OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "net/base/ssl_info.h" | 10 #include "net/base/ssl_info.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // If the response headers indicate a 401 or 407 failure, then this structure | 71 // If the response headers indicate a 401 or 407 failure, then this structure |
72 // will contain additional information about the authentication challenge. | 72 // will contain additional information about the authentication challenge. |
73 scoped_refptr<AuthChallengeInfo> auth_challenge; | 73 scoped_refptr<AuthChallengeInfo> auth_challenge; |
74 | 74 |
75 // The SSL client certificate request info. | 75 // The SSL client certificate request info. |
76 // TODO(wtc): does this really belong in HttpResponseInfo? I put it here | 76 // TODO(wtc): does this really belong in HttpResponseInfo? I put it here |
77 // because it is similar to |auth_challenge|, but unlike HTTP authentication | 77 // because it is similar to |auth_challenge|, but unlike HTTP authentication |
78 // challenge, client certificate request is not part of an HTTP response. | 78 // challenge, client certificate request is not part of an HTTP response. |
79 scoped_refptr<SSLCertRequestInfo> cert_request_info; | 79 scoped_refptr<SSLCertRequestInfo> cert_request_info; |
80 | 80 |
| 81 // The SSL client login request info. |
| 82 // TODO(wtc): if cert_request_info doesn't belong here, then neither does this |
| 83 scoped_refptr<AuthChallengeInfo> login_request_info; |
| 84 |
81 // The SSL connection info (if HTTPS). | 85 // The SSL connection info (if HTTPS). |
82 SSLInfo ssl_info; | 86 SSLInfo ssl_info; |
83 | 87 |
84 // The parsed response headers and status line. | 88 // The parsed response headers and status line. |
85 scoped_refptr<HttpResponseHeaders> headers; | 89 scoped_refptr<HttpResponseHeaders> headers; |
86 | 90 |
87 // The "Vary" header data for this response. | 91 // The "Vary" header data for this response. |
88 HttpVaryData vary_data; | 92 HttpVaryData vary_data; |
89 | 93 |
90 // Any metadata asociated with this resource's cached data. | 94 // Any metadata asociated with this resource's cached data. |
91 scoped_refptr<IOBufferWithSize> metadata; | 95 scoped_refptr<IOBufferWithSize> metadata; |
92 }; | 96 }; |
93 | 97 |
94 } // namespace net | 98 } // namespace net |
95 | 99 |
96 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ | 100 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ |
OLD | NEW |