Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 #include <limits.h> | |
| 6 #include <malloc.h> | |
| 7 #include <new.h> | |
| 8 #include <windows.h> | |
| 9 #include <stddef.h> | |
| 10 | |
| 11 | |
| 12 namespace base { | |
|
Primiano Tucci (use gerrit)
2016/07/12 14:51:05
I'd add a TODO to this file saying that once the u
Sigurður Ásgeirsson
2016/07/14 19:04:27
Done.
| |
| 13 namespace allocator { | |
| 14 | |
| 15 extern bool g_is_win_shim_layer_initialized; | |
| 16 | |
| 17 void* WinHeapMalloc(size_t size); | |
| 18 void WinHeapFree(void* size); | |
| 19 void* WinHeapRealloc(void* ptr, size_t size); | |
| 20 void* WinHeapCalloc(size_t n, size_t elem_size); | |
| 21 | |
| 22 // Call the new handler, if one has been set. | |
| 23 // Returns true on successfully calling the handler, false otherwise. | |
| 24 bool WinCallNewHandler(size_t size); | |
| 25 | |
| 26 } // namespace allocator | |
| 27 } // namespace base | |
| OLD | NEW |