OLD | NEW |
1 // Copyright (c) 2012 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 BASE_VERSION_H_ | 5 #ifndef BASE_VERSION_H_ |
6 #define BASE_VERSION_H_ | 6 #define BASE_VERSION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <iosfwd> | 10 #include <iosfwd> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 BASE_EXPORT bool operator==(const Version& v1, const Version& v2); | 66 BASE_EXPORT bool operator==(const Version& v1, const Version& v2); |
67 BASE_EXPORT bool operator!=(const Version& v1, const Version& v2); | 67 BASE_EXPORT bool operator!=(const Version& v1, const Version& v2); |
68 BASE_EXPORT bool operator<(const Version& v1, const Version& v2); | 68 BASE_EXPORT bool operator<(const Version& v1, const Version& v2); |
69 BASE_EXPORT bool operator<=(const Version& v1, const Version& v2); | 69 BASE_EXPORT bool operator<=(const Version& v1, const Version& v2); |
70 BASE_EXPORT bool operator>(const Version& v1, const Version& v2); | 70 BASE_EXPORT bool operator>(const Version& v1, const Version& v2); |
71 BASE_EXPORT bool operator>=(const Version& v1, const Version& v2); | 71 BASE_EXPORT bool operator>=(const Version& v1, const Version& v2); |
72 BASE_EXPORT std::ostream& operator<<(std::ostream& stream, const Version& v); | 72 BASE_EXPORT std::ostream& operator<<(std::ostream& stream, const Version& v); |
73 | 73 |
74 } // namespace base | 74 } // namespace base |
75 | 75 |
| 76 // TODO(xhwang) remove this when all users are updated to explicitly use the |
| 77 // namespace |
| 78 using base::Version; |
| 79 |
76 #endif // BASE_VERSION_H_ | 80 #endif // BASE_VERSION_H_ |
OLD | NEW |