1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PARTITION_ALLOC_PARTITION_ALLOC_BASE_IOS_IOS_UTIL_H_
6 #define PARTITION_ALLOC_PARTITION_ALLOC_BASE_IOS_IOS_UTIL_H_
7 
8 #include <cstdint>
9 
10 #include "partition_alloc/partition_alloc_base/component_export.h"
11 
12 namespace partition_alloc::internal::base::ios {
13 
14 // Returns whether the operating system is at the given version or later.
15 PA_COMPONENT_EXPORT(PARTITION_ALLOC_BASE)
16 bool IsRunningOnOrLater(int32_t major, int32_t minor, int32_t bug_fix);
17 
18 }  // namespace partition_alloc::internal::base::ios
19 
20 #endif  // PARTITION_ALLOC_PARTITION_ALLOC_BASE_IOS_IOS_UTIL_H_
21