summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/logging.cc10
-rw-r--r--base/logging.h7
2 files changed, 0 insertions, 17 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 1212fd2..fa98eb2 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -230,16 +230,6 @@ bool InitializeLogFileHandle() {
return true;
}
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
-int GetLoggingFileDescriptor() {
- // No locking needed, since this is only called by the zygote server,
- // which is single-threaded.
- if (log_file)
- return fileno(log_file);
- return -1;
-}
-#endif
-
void InitLogMutex() {
#if defined(OS_WIN)
if (!log_mutex) {
diff --git a/base/logging.h b/base/logging.h
index 00f3f71..07a0d0f 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -153,13 +153,6 @@ void SetMinLogLevel(int level);
// Gets the current log level.
int GetMinLogLevel();
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
-// Get the file descriptor used for logging.
-// Returns -1 if none open.
-// Needed by ZygoteManager.
-int GetLoggingFileDescriptor();
-#endif
-
// Sets the log filter prefix. Any log message below LOG_ERROR severity that
// doesn't start with this prefix with be silently ignored. The filter defaults
// to NULL (everything is logged) if this function is not called. Messages