summaryrefslogtreecommitdiffstats
path: root/ios/consumer/public/base/util.h
blob: 9820834c1d10d30422ccca6ccd2755d6b58373f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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_CONSUME_PUBLIC_BASE_UTIL_H_
#define IOS_CONSUME_PUBLIC_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_CONSUME_PUBLIC_BASE_UTIL_H_