| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |
| #define IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |
| |
| namespace ios { |
| |
| // Returns whether the operating system is iOS 6 or later. |
| bool IsRunningOnIOS6OrLater(); |
| |
| // Returns whether the operating system is at the given version or later. |
| bool IsRunningOnOrLater(int major, int minor, int bug_fix); |
| |
| } // namespace ios |
| |
| #endif // IOS_PUBLIC_CONSUMER_BASE_UTIL_H_ |