Index: ios/consumer/public/base/util.h |
diff --git a/ios/consumer/public/base/util.h b/ios/consumer/public/base/util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9820834c1d10d30422ccca6ccd2755d6b58373f0 |
--- /dev/null |
+++ b/ios/consumer/public/base/util.h |
@@ -0,0 +1,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_ |