Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1044)

Unified Diff: ios/consumer/public/base/util.h

Issue 16023013: Introduce the iOS consumer API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ios/consumer/public/DEPS ('K') | « ios/consumer/public/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« ios/consumer/public/DEPS ('K') | « ios/consumer/public/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698