commit | 7311255f16106eef41cff8175aab9700c67240f1 | [log] [tgz] |
---|---|---|
author | Rohit Rao <[email protected]> | Tue Jul 07 19:58:21 2020 |
committer | Commit Bot <[email protected]> | Tue Jul 07 19:58:21 2020 |
tree | 0ae5027448726dc2689b0b8a8100c0516adbb46d | |
parent | adbc9bc440a4fd77f54c8420e7e0a3ba9a47a2b1 [diff] [blame] |
[ios] Adds IsRunningOnIOS14OrLater(). BUG=None Change-Id: I13c7aeee67a7e72b665f23a4b1c4b942452db9b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2284058 Commit-Queue: Rohit Rao <[email protected]> Commit-Queue: Mike Dougherty <[email protected]> Reviewed-by: Mike Dougherty <[email protected]> Cr-Commit-Position: refs/heads/master@{#785951}
diff --git a/base/ios/ios_util.h b/base/ios/ios_util.h index 0a51230..de44a75a 100644 --- a/base/ios/ios_util.h +++ b/base/ios/ios_util.h
@@ -25,6 +25,9 @@ // Returns whether the operating system is iOS 13 or later. BASE_EXPORT bool IsRunningOnIOS13OrLater(); +// Returns whether the operating system is iOS 14 or later. +BASE_EXPORT bool IsRunningOnIOS14OrLater(); + // Returns whether the operating system is at the given version or later. BASE_EXPORT bool IsRunningOnOrLater(int32_t major, int32_t minor,