| 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_VARY_DATA_H__ | 5 #ifndef NET_HTTP_HTTP_VARY_DATA_H__ |
| 6 #define NET_HTTP_HTTP_VARY_DATA_H__ | 6 #define NET_HTTP_HTTP_VARY_DATA_H__ |
| 7 | 7 |
| 8 #include "base/md5.h" | 8 #include "base/md5.h" |
| 9 #include "base/ref_counted.h" | |
| 10 | 9 |
| 11 class Pickle; | 10 class Pickle; |
| 12 | 11 |
| 13 namespace net { | 12 namespace net { |
| 14 | 13 |
| 15 class HttpRequestInfo; | 14 class HttpRequestInfo; |
| 16 class HttpResponseHeaders; | 15 class HttpResponseHeaders; |
| 17 | 16 |
| 18 // Used to implement the HTTP/1.1 Vary header. This class contains a MD5 hash | 17 // Used to implement the HTTP/1.1 Vary header. This class contains a MD5 hash |
| 19 // over the request headers indicated by a Vary header. | 18 // over the request headers indicated by a Vary header. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // A digested version of the request headers corresponding to the Vary header. | 74 // A digested version of the request headers corresponding to the Vary header. |
| 76 MD5Digest request_digest_; | 75 MD5Digest request_digest_; |
| 77 | 76 |
| 78 // True when request_digest_ contains meaningful data. | 77 // True when request_digest_ contains meaningful data. |
| 79 bool is_valid_; | 78 bool is_valid_; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace net | 81 } // namespace net |
| 83 | 82 |
| 84 #endif // NET_HTTP_HTTP_VARY_DATA_H__ | 83 #endif // NET_HTTP_HTTP_VARY_DATA_H__ |
| OLD | NEW |