summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 21:58:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 21:58:30 +0000
commit11b93faaecc56a050b4a4f818b56e3111f21e4ae (patch)
tree27f7c4c9b3b2b08e7cd4963e842cf3889f27a242 /base/process_util.h
parentd5a6f7b59b8f6489f6925c0b7d3f5f5f390fef07 (diff)
downloadchromium_src-11b93faaecc56a050b4a4f818b56e3111f21e4ae.zip
chromium_src-11b93faaecc56a050b4a4f818b56e3111f21e4ae.tar.gz
chromium_src-11b93faaecc56a050b4a4f818b56e3111f21e4ae.tar.bz2
Move EnableInProcessStackDumping to base/debug
This is a preparation to fix async-signal unsafety of the stack dumping signal handler, and I'd like to share code between the handler and stack trace code that wouldn't be useful outside those two. BUG=101155 TEST=if it compiles, it is perfect Review URL: https://codereview.chromium.org/11293021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 3fb7e2ba..3a1bc26 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -842,11 +842,6 @@ BASE_EXPORT void EnableTerminationOnHeapCorruption();
// Turns on process termination if memory runs out.
BASE_EXPORT void EnableTerminationOnOutOfMemory();
-// Enables stack dump to console output on exception and signals.
-// When enabled, the process will quit immediately. This is meant to be used in
-// unit_tests only! This is not thread-safe: only call from main thread.
-BASE_EXPORT bool EnableInProcessStackDumping();
-
// If supported on the platform, and the user has sufficent rights, increase
// the current process's scheduling priority to a high priority.
BASE_EXPORT void RaiseProcessToHighPriority();