| Index: base/process/memory.h
|
| diff --git a/base/process/memory.h b/base/process/memory.h
|
| index 62c3312598a152b192ab29acfcc046d9485c8680..be669dd847606bc743af75768837644a1841ee2a 100644
|
| --- a/base/process/memory.h
|
| +++ b/base/process/memory.h
|
| @@ -11,10 +11,6 @@
|
| #include "base/process/process_handle.h"
|
| #include "build/build_config.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include <windows.h>
|
| -#endif
|
| -
|
| #ifdef PVALLOC_AVAILABLE
|
| // Build config explicitly tells us whether or not pvalloc is available.
|
| #elif defined(LIBC_GLIBC) && !defined(USE_TCMALLOC)
|
| @@ -36,12 +32,6 @@ BASE_EXPORT void EnableTerminationOnOutOfMemory();
|
| // Crash reporting classifies such crashes as OOM.
|
| BASE_EXPORT void TerminateBecauseOutOfMemory(size_t size);
|
|
|
| -#if defined(OS_WIN)
|
| -// Returns the module handle to which an address belongs. The reference count
|
| -// of the module is not incremented.
|
| -BASE_EXPORT HMODULE GetModuleFromAddress(void* address);
|
| -#endif
|
| -
|
| #if defined(OS_LINUX) || defined(OS_ANDROID)
|
| BASE_EXPORT extern size_t g_oom_size;
|
|
|
|
|