diff options
author | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 15:09:32 +0000 |
---|---|---|
committer | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 15:09:32 +0000 |
commit | 2c82e36ff2fe4e633d104601388671bfa7a2e35f (patch) | |
tree | 36d4aacce22e2e8fc73fc6217d21ff86e64ca352 /ios/consumer/base/util.mm | |
parent | da0ac0fd0562d882d90232e563ff3a213d56591c (diff) | |
download | chromium_src-2c82e36ff2fe4e633d104601388671bfa7a2e35f.zip chromium_src-2c82e36ff2fe4e633d104601388671bfa7a2e35f.tar.gz chromium_src-2c82e36ff2fe4e633d104601388671bfa7a2e35f.tar.bz2 |
Introduce the iOS consumer API.
The purpose of this API is to make the iOS port less vulnerable to bustage
during merges while in the process of upstreaming (see
https://sites.google.com/a/chromium.org/dev/developers/design-documents/layered-components-technical-approach).
Review URL: https://chromiumcodereview.appspot.com/16023013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ios/consumer/base/util.mm')
-rw-r--r-- | ios/consumer/base/util.mm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ios/consumer/base/util.mm b/ios/consumer/base/util.mm new file mode 100644 index 0000000..6a94f8f --- /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 |