Chromium Code Reviews| 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..c3d339a7a5eda20a5fc2e1ddd5209ac4bdf41b3d |
| --- /dev/null |
| +++ b/ios/consumer/public/base/util.h |
| @@ -0,0 +1,20 @@ |
| +// 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 { |
| +namespace base { |
|
darin (slow to review)
2013/05/28 21:00:09
I recommend avoiding nested namespaces. I especia
|
| + |
| +// 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 base |
| +} // namespace ios |
| + |
| +#endif // IOS_CONSUME_PUBLIC_BASE_UTIL_H_ |