- add sources.
[platform/framework/web/crosswalk.git] / src / ios / public / consumer / base / util.h
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_PUBLIC_CONSUMER_BASE_UTIL_H_
6 #define IOS_PUBLIC_CONSUMER_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_PUBLIC_CONSUMER_BASE_UTIL_H_