OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ | 5 #ifndef IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |
6 #define IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ | 6 #define IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |
7 | 7 |
8 namespace ios { | 8 namespace ios { |
9 | 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. | 10 // Returns whether the operating system is at the given version or later. |
14 bool IsRunningOnOrLater(int major, int minor, int bug_fix); | 11 bool IsRunningOnOrLater(int major, int minor, int bug_fix); |
15 | 12 |
16 } // namespace ios | 13 } // namespace ios |
17 | 14 |
18 #endif // IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ | 15 #endif // IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |
OLD | NEW |