summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authordmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 18:39:43 +0000
committerdmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 18:39:43 +0000
commitc4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6 (patch)
tree015ca41c4d18b3c1b9e68094746279c9f7316139 /base/process_util.h
parent8355c43370924931547c5923065c33ae15009202 (diff)
downloadchromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.zip
chromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.tar.gz
chromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.tar.bz2
Revert 168239 - Extract SIGPIPE ignoring code to a common place.
Failed compile on Linux Clang: http://build.chromium.org/p/chromium.linux/builders/Linux%20Clang%20%28dbg%29/builds/35971/steps/compile/logs/stdio ../../chrome/test/webdriver/webdriver_server.cc:230:8:error: use of undeclared identifier 'IgnoreSigPipe'; did you mean 'base::IgnoreSigPipe'? if (!IgnoreSigPipe()) { ^~~~~~~~~~~~~ base::IgnoreSigPipe ../../base/process_util.h:153:18: note: 'base::IgnoreSigPipe' declared here BUG=none Review URL: https://codereview.chromium.org/11280010 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/11308073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 00135c4..2805e42 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -147,12 +147,6 @@ BASE_EXPORT extern size_t g_oom_size;
BASE_EXPORT void RouteStdioToConsole();
#endif
-#if defined(OS_POSIX)
-// Ignores SIGPIPE signal. We handle pipe errors in a different way.
-// Returns true on success.
-BASE_EXPORT bool IgnoreSigPipe() WARN_UNUSED_RESULT;
-#endif
-
// Returns the id of the current process.
BASE_EXPORT ProcessId GetCurrentProcId();