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 // Mavericks is Mac OS X 10.7, Darwin 11. |
13 PLATFORM_EXPORT bool IsOSLionOrEarlier(); | 13 PLATFORM_EXPORT bool IsOSLionOrEarlier(); |
14 | 14 |
15 // Mavericks is Mac OS X 10.9, Darwin 13. | 15 // Mavericks is Mac OS X 10.9, Darwin 13. |
16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); | 16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); |
17 PLATFORM_EXPORT bool IsOSMavericks(); | 17 PLATFORM_EXPORT bool IsOSMavericks(); |
18 | 18 |
| 19 // Yosemite is Mac OS X 10.10, Darwin 14. |
| 20 PLATFORM_EXPORT bool IsOSYosemite(); |
| 21 |
| 22 // El Capitan is Mac OS X 10.11, Darwin 15. |
| 23 PLATFORM_EXPORT bool IsOSElCapitan(); |
| 24 |
19 } // namespace blink | 25 } // namespace blink |
20 | 26 |
21 #endif // VersionUtilMac_h | 27 #endif // VersionUtilMac_h |
OLD | NEW |