diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 20:27:03 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 20:27:03 +0000 |
commit | c51e0690737d3d1269cc3aa666792ab4fb0e60c0 (patch) | |
tree | bac4be4b92f22e967630eee0d579d03ae3e70879 /base/process_util.h | |
parent | 10ebfce032159d84651d15206ec09a306f3463d8 (diff) | |
download | chromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.zip chromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.tar.gz chromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.tar.bz2 |
Reverting 7156.
Broke the build.
Review URL: http://codereview.chromium.org/15402
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/base/process_util.h b/base/process_util.h index c88d341..5146c12 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -66,12 +66,6 @@ ProcessHandle GetCurrentProcessHandle(); // Win XP SP1 as well. int GetProcId(ProcessHandle process); -#if defined(OS_POSIX) -// Returns the maximum number of files that a process can have open. -// Returns 0 on error. -int GetMaxFilesOpenInProcess(); -#endif - #if defined(OS_WIN) // Runs the given application name with the given command line. Normally, the // first command line argument should be the path to the process, and don't @@ -93,18 +87,13 @@ bool LaunchApp(const std::wstring& cmdline, // Runs the application specified in argv[0] with the command line argv. // Both the elements of argv and argv itself must be terminated with a null // byte. -// Before launching all FDs open in the parent process will be marked as -// close-on-exec. |fds_to_remap| defines a mapping of src fd->dest fd to -// propagate FDs into the child process. // // As above, if wait is true, execute synchronously. The pid will be stored // in process_handle if that pointer is non-null. // // Note that the first argument in argv must point to the filename, // and must be fully specified. -typedef std::vector<std::pair<int, int> > file_handle_mapping_vector; bool LaunchApp(const std::vector<std::string>& argv, - const file_handle_mapping_vector& fds_to_remap, bool wait, ProcessHandle* process_handle); #endif |