OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 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 BASE_ALLOCATOR_ALLOCATOR_SHIM_DEFAULT_DISPATCH_TO_ZONED_MALLOC_H_ |
| 6 #define BASE_ALLOCATOR_ALLOCATOR_SHIM_DEFAULT_DISPATCH_TO_ZONED_MALLOC_H_ |
| 7 |
| 8 #include "base/allocator/allocator_interception_mac.h" |
| 9 |
| 10 namespace base { |
| 11 namespace allocator { |
| 12 |
| 13 // On macOS, AllocatorDispatch::default_dispatch needs to be informed about the |
| 14 // unintercepted malloc zone functions. |
| 15 void SetDefaultDispatchMallocZoneFunctions(MallocZoneFunctions* functions); |
| 16 |
| 17 } // namespace allocator |
| 18 } // namespace base |
| 19 |
| 20 #endif // BASE_ALLOCATOR_ALLOCATOR_SHIM_DEFAULT_DISPATCH_TO_ZONED_MALLOC_H_ |
OLD | NEW |