Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: base/version.h

Issue 2305433003: Revert of Disallow non-namespaced use of base::Version. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/component_updater/pepper_flash_component_installer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/pepper_flash_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698