diff options
author | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:28:17 +0000 |
---|---|---|
committer | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:28:17 +0000 |
commit | 177623b42c69743828b8bd0a40c0f07b072ba86d (patch) | |
tree | a3db515744f38bdf3489d0f4c8229b3c33fc2a97 /content/browser/child_process_launcher.cc | |
parent | 98a9273d8b0c3f873ca66331c9d9a81ab9c9f9e9 (diff) | |
download | chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.zip chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.tar.gz chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.tar.bz2 |
Move handle dumpage to the renderer process (so that it works correctly) and move handle enumerator into common.
BUG=96488
TEST=N/A
Review URL: http://codereview.chromium.org/7888024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/child_process_launcher.cc')
-rw-r--r-- | content/browser/child_process_launcher.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc index e438989..1462e10 100644 --- a/content/browser/child_process_launcher.cc +++ b/content/browser/child_process_launcher.cc @@ -21,7 +21,6 @@ #if defined(OS_WIN) #include "base/file_path.h" -#include "content/browser/handle_enumerator_win.h" #include "content/common/sandbox_policy.h" #elif defined(OS_MACOSX) #include "content/browser/mach_broker_mac.h" @@ -237,20 +236,6 @@ class ChildProcessLauncher::Context if (!terminate_child_on_shutdown_) return; -#if defined(OS_WIN) - const CommandLine& browser_command_line = - *CommandLine::ForCurrentProcess(); - if (browser_command_line.HasSwitch(switches::kAuditHandles) || - browser_command_line.HasSwitch(switches::kAuditAllHandles)) { - scoped_refptr<content::HandleEnumerator> handle_enum( - new content::HandleEnumerator(process_.handle(), - browser_command_line.HasSwitch(switches::kAuditAllHandles))); - handle_enum->RunHandleEnumeration(); - process_.set_handle(base::kNullProcessHandle); - return; - } -#endif - // On Posix, EnsureProcessTerminated can lead to 2 seconds of sleep! So // don't this on the UI/IO threads. BrowserThread::PostTask( |