Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: base/allocator/allocator_shim_default_dispatch_to_zoned_malloc.h

Issue 2658723007: Hook up allocator shim on mac. (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698