summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 16:35:22 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 16:35:22 +0000
commit39b011a438415a19ce78df050af9dbca3f9ec204 (patch)
tree79a222889346b1051de4243b37cd8edb0395e310 /base/process_util.h
parent71f1fc95107fb420699ebbabc15ff4b79ff9c305 (diff)
downloadchromium_src-39b011a438415a19ce78df050af9dbca3f9ec204.zip
chromium_src-39b011a438415a19ce78df050af9dbca3f9ec204.tar.gz
chromium_src-39b011a438415a19ce78df050af9dbca3f9ec204.tar.bz2
Revert 51371 - Catch OOMs in purgeable memory.
BUG=http://crbug.com/47980 TEST=unit tested Review URL: http://codereview.chromium.org/2859036 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/2883014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 48cef2c..9a28282 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -17,9 +17,6 @@
// kinfo_proc is defined in <sys/sysctl.h>, but this forward declaration
// is sufficient for the vector<kinfo_proc> below.
struct kinfo_proc;
-// malloc_zone_t is defined in <malloc/malloc.h>, but this forward declaration
-// is sufficient for GetPurgeableZone() below.
-typedef struct _malloc_zone_t malloc_zone_t;
#include <mach/mach.h>
#elif defined(OS_POSIX)
#include <dirent.h>
@@ -568,10 +565,6 @@ void EnableTerminationOnHeapCorruption();
// Turns on process termination if memory runs out. This is handled on Windows
// inside RegisterInvalidParamHandler().
void EnableTerminationOnOutOfMemory();
-#if defined(OS_MACOSX)
-// Exposed for testing.
-malloc_zone_t* GetPurgeableZone();
-#endif
#endif
#if defined(UNIT_TEST)