summaryrefslogtreecommitdiffstats
path: root/base/dir_reader_posix.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-10 19:41:43 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-10 19:41:43 +0000
commita0607da9446e3ec76a7ced32502f8c7e71654d53 (patch)
tree958a5b77aa00de5981641531e683b565c6d5b3cf /base/dir_reader_posix.h
parent651b77c761749949fc7f148e3c20fe203a61bf7d (diff)
downloadchromium_src-a0607da9446e3ec76a7ced32502f8c7e71654d53.zip
chromium_src-a0607da9446e3ec76a7ced32502f8c7e71654d53.tar.gz
chromium_src-a0607da9446e3ec76a7ced32502f8c7e71654d53.tar.bz2
Revert "POSIX: don't allocate memory after forking."
Appears to break tlslite on the Mac. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/dir_reader_posix.h')
-rw-r--r--base/dir_reader_posix.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/base/dir_reader_posix.h b/base/dir_reader_posix.h
deleted file mode 100644
index e9ad11e..0000000
--- a/base/dir_reader_posix.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BASE_DIR_READER_POSIX_H_
-#define BASE_DIR_READER_POSIX_H_
-
-#include "build/build_config.h"
-
-// This header provides a class, DirReaderPosix, which allows one to open and
-// read from directories without allocating memory. For the interface, see
-// the generic fallback in dir_reader_fallback.h.
-
-#if defined(OS_LINUX)
-#include "base/dir_reader_linux.h"
-#else
-#include "base/dir_reader_fallback.h"
-#endif
-
-namespace base {
-
-#if defined(OS_LINUX)
-typedef DirReaderLinux DirReaderPosix;
-#else
-typedef DirReaderFallback DirReaderPosix;
-#endif
-
-} // namespace base
-
-#endif // BASE_DIR_READER_POSIX_H_