| 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.9, Darwin 13. | 12 // Mavericks is Mac OS X 10.9, Darwin 13. |
| 13 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); | 13 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); |
| 14 PLATFORM_EXPORT bool IsOSMavericks(); | 14 PLATFORM_EXPORT bool IsOSMavericks(); |
| 15 | 15 |
| 16 // Yosemite is Mac OS X 10.10, Darwin 14. |
| 17 PLATFORM_EXPORT bool IsOSYosemiteOrEarlier(); |
| 18 PLATFORM_EXPORT bool IsOSYosemite(); |
| 19 |
| 16 } // namespace blink | 20 } // namespace blink |
| 17 | 21 |
| 18 #endif // VersionUtilMac_h | 22 #endif // VersionUtilMac_h |
| OLD | NEW |