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 |
| 10 // Returns whether the operating system is iOS 6 or later. |
| 11 bool IsRunningOnIOS6OrLater(); |
| 12 |
| 13 // Returns whether the operating system is at the given version or later. |
| 14 bool IsRunningOnOrLater(int major, int minor, int bug_fix); |
| 15 |
| 16 } // namespace ios |
| 17 |
| 18 #endif // IOS_CONSUME_PUBLIC_BASE_UTIL_H_ |
OLD | NEW |