| 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 | 7 |
| 8 #include "base/time.h" | 8 #include "base/time.h" |
| 9 #include "net/base/auth.h" | 9 #include "net/base/auth.h" |
| 10 #include "net/base/ssl_cert_request_info.h" |
| 10 #include "net/base/ssl_info.h" | 11 #include "net/base/ssl_info.h" |
| 12 #include "net/http/http_response_headers.h" |
| 11 #include "net/http/http_vary_data.h" | 13 #include "net/http/http_vary_data.h" |
| 12 | 14 |
| 13 namespace net { | 15 namespace net { |
| 14 | 16 |
| 15 class HttpResponseHeaders; | |
| 16 class SSLCertRequestInfo; | |
| 17 | |
| 18 class HttpResponseInfo { | 17 class HttpResponseInfo { |
| 19 public: | 18 public: |
| 20 HttpResponseInfo(); | 19 HttpResponseInfo(); |
| 21 ~HttpResponseInfo(); | 20 ~HttpResponseInfo(); |
| 22 // Default copy-constructor and assignment operator are OK! | 21 // Default copy-constructor and assignment operator are OK! |
| 23 | 22 |
| 24 // The following is only defined if the request_time member is set. | 23 // The following is only defined if the request_time member is set. |
| 25 // If this response was resurrected from cache, then this bool is set, and | 24 // If this response was resurrected from cache, then this bool is set, and |
| 26 // request_time may corresponds to a time "far" in the past. Note that | 25 // request_time may corresponds to a time "far" in the past. Note that |
| 27 // stale content (perhaps un-cacheable) may be fetched from cache subject to | 26 // stale content (perhaps un-cacheable) may be fetched from cache subject to |
| (...skipping 26 matching lines...) Expand all Loading... |
| 54 // The parsed response headers and status line. | 53 // The parsed response headers and status line. |
| 55 scoped_refptr<HttpResponseHeaders> headers; | 54 scoped_refptr<HttpResponseHeaders> headers; |
| 56 | 55 |
| 57 // The "Vary" header data for this response. | 56 // The "Vary" header data for this response. |
| 58 HttpVaryData vary_data; | 57 HttpVaryData vary_data; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace net | 60 } // namespace net |
| 62 | 61 |
| 63 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ | 62 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ |
| OLD | NEW |