| 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 #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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 class SSLCertRequestInfo; | 23 class SSLCertRequestInfo; |
| 24 | 24 |
| 25 class NET_EXPORT HttpResponseInfo { | 25 class NET_EXPORT HttpResponseInfo { |
| 26 public: | 26 public: |
| 27 // Describes the kind of connection used to fetch this response. | 27 // Describes the kind of connection used to fetch this response. |
| 28 enum ConnectionInfo { | 28 enum ConnectionInfo { |
| 29 CONNECTION_INFO_UNKNOWN, | 29 CONNECTION_INFO_UNKNOWN, |
| 30 CONNECTION_INFO_HTTP1, | 30 CONNECTION_INFO_HTTP1, |
| 31 CONNECTION_INFO_SPDY2, | 31 CONNECTION_INFO_SPDY2, |
| 32 CONNECTION_INFO_SPDY3, | 32 CONNECTION_INFO_SPDY3, |
| 33 CONNECTION_INFO_SPDY3_1, | 33 CONNECTION_INFO_SPDY4, |
| 34 CONNECTION_INFO_QUIC1_SPDY3, | 34 CONNECTION_INFO_QUIC1_SPDY3, |
| 35 NUM_OF_CONNECTION_INFOS, | 35 NUM_OF_CONNECTION_INFOS, |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 HttpResponseInfo(); | 38 HttpResponseInfo(); |
| 39 HttpResponseInfo(const HttpResponseInfo& rhs); | 39 HttpResponseInfo(const HttpResponseInfo& rhs); |
| 40 ~HttpResponseInfo(); | 40 ~HttpResponseInfo(); |
| 41 HttpResponseInfo& operator=(const HttpResponseInfo& rhs); | 41 HttpResponseInfo& operator=(const HttpResponseInfo& rhs); |
| 42 // Even though we could get away with the copy ctor and default operator=, | 42 // Even though we could get away with the copy ctor and default operator=, |
| 43 // that would prevent us from doing a bunch of forward declaration. | 43 // that would prevent us from doing a bunch of forward declaration. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // The "Vary" header data for this response. | 120 // The "Vary" header data for this response. |
| 121 HttpVaryData vary_data; | 121 HttpVaryData vary_data; |
| 122 | 122 |
| 123 // Any metadata asociated with this resource's cached data. | 123 // Any metadata asociated with this resource's cached data. |
| 124 scoped_refptr<IOBufferWithSize> metadata; | 124 scoped_refptr<IOBufferWithSize> metadata; |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 } // namespace net | 127 } // namespace net |
| 128 | 128 |
| 129 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ | 129 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ |
| OLD | NEW |