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

Unified Diff: ios/consumer/base/util.mm

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
Index: ios/consumer/base/util.mm
diff --git a/ios/consumer/base/util.mm b/ios/consumer/base/util.mm
new file mode 100644
index 0000000000000000000000000000000000000000..6a94f8ffcd4941cb86c1603ced5c8551f539fdb4
--- /dev/null
+++ b/ios/consumer/base/util.mm
@@ -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.
+
+#include "base/ios/ios_util.h"
+#include "ios/consumer/public/base/util.h"
+
+namespace ios {
+
+bool IsRunningOnIOS6OrLater() {
+ return base::ios::IsRunningOnIOS6OrLater();
+}
+
+bool IsRunningOnOrLater(int major, int minor, int bug_fix) {
+ return base::ios::IsRunningOnOrLater(major, minor, bug_fix);
+}
+
+} // namespace ios
« no previous file with comments | « ios/consumer/README.txt ('k') | ios/consumer/ios_consumer.gyp » ('j') | ios/consumer/public/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698