OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CONSUME_PUBLIC_BASE_UTIL_H_ |
| 6 #define IOS_CONSUME_PUBLIC_BASE_UTIL_H_ |
| 7 |
| 8 namespace ios { |
| 9 namespace base { |
| 10 |
| 11 // Returns whether the operating system is iOS 6 or later. |
| 12 bool IsRunningOnIOS6OrLater(); |
| 13 |
| 14 // Returns whether the operating system is at the given version or later. |
| 15 bool IsRunningOnOrLater(int major, int minor, int bug_fix); |
| 16 |
| 17 } // namespace base |
| 18 } // namespace ios |
| 19 |
| 20 #endif // IOS_CONSUME_PUBLIC_BASE_UTIL_H_ |
OLD | NEW |