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