| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 VersionUtilMac_h | 5 #ifndef VersionUtilMac_h |
| 6 #define VersionUtilMac_h | 6 #define VersionUtilMac_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 // Mavericks is Mac OS X 10.7, Darwin 11. | 12 // Snow Leopard is Mac OS X 10.6, Darwin 10. |
| 13 PLATFORM_EXPORT bool IsOSSnowLeopard(); |
| 14 |
| 15 // Lion is Mac OS X 10.7, Darwin 11. |
| 13 PLATFORM_EXPORT bool IsOSLionOrEarlier(); | 16 PLATFORM_EXPORT bool IsOSLionOrEarlier(); |
| 14 | 17 |
| 15 // Mavericks is Mac OS X 10.9, Darwin 13. | 18 // Mavericks is Mac OS X 10.9, Darwin 13. |
| 16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); | 19 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); |
| 17 PLATFORM_EXPORT bool IsOSMavericks(); | 20 PLATFORM_EXPORT bool IsOSMavericks(); |
| 18 | 21 |
| 19 // Yosemite is Mac OS X 10.10, Darwin 14. | 22 // Yosemite is Mac OS X 10.10, Darwin 14. |
| 20 PLATFORM_EXPORT bool IsOSYosemite(); | 23 PLATFORM_EXPORT bool IsOSYosemite(); |
| 21 | 24 |
| 22 // El Capitan is Mac OS X 10.11, Darwin 15. | 25 // El Capitan is Mac OS X 10.11, Darwin 15. |
| 23 PLATFORM_EXPORT bool IsOSElCapitan(); | 26 PLATFORM_EXPORT bool IsOSElCapitan(); |
| 24 | 27 |
| 25 } // namespace blink | 28 } // namespace blink |
| 26 | 29 |
| 27 #endif // VersionUtilMac_h | 30 #endif // VersionUtilMac_h |
| OLD | NEW |