| Index: base/process/memory.h
|
| diff --git a/base/process/memory.h b/base/process/memory.h
|
| index be669dd847606bc743af75768837644a1841ee2a..8f5fe38b8847596cead8af4745c3cba3c37bd2db 100644
|
| --- a/base/process/memory.h
|
| +++ b/base/process/memory.h
|
| @@ -48,6 +48,14 @@ const int kMaxOomScore = 1000;
|
| BASE_EXPORT bool AdjustOOMScore(ProcessId process, int score);
|
| #endif
|
|
|
| +#if defined(OS_WIN)
|
| +namespace win {
|
| +
|
| +const DWORD kOomExceptionCode = 0xE0000008;
|
| +
|
| +} // namespace win
|
| +#endif
|
| +
|
| // Special allocator functions for callers that want to check for OOM.
|
| // These will not abort if the allocation fails even if
|
| // EnableTerminationOnOutOfMemory has been called.
|
|
|