OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VERSION_H_ | 5 #ifndef NET_HTTP_HTTP_VERSION_H_ |
6 #define NET_HTTP_HTTP_VERSION_H_ | 6 #define NET_HTTP_HTTP_VERSION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 return value_ <= v.value_; | 49 return value_ <= v.value_; |
50 } | 50 } |
51 | 51 |
52 private: | 52 private: |
53 uint32 value_; // Packed as <major>:<minor> | 53 uint32 value_; // Packed as <major>:<minor> |
54 }; | 54 }; |
55 | 55 |
56 } // namespace net | 56 } // namespace net |
57 | 57 |
58 #endif // NET_HTTP_HTTP_VERSION_H_ | 58 #endif // NET_HTTP_HTTP_VERSION_H_ |
OLD | NEW |