summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_launcher.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-10 06:48:18 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-10 06:48:18 +0000
commit675112ffb6168a9e9579305d4618fc7f0a2e6e74 (patch)
treed7123c168aa76fd6c6d441471ef1aa1fac189bfe /chrome/browser/child_process_launcher.cc
parent474f059570ce28bc9f93a140e4396d5e35d9c09c (diff)
downloadchromium_src-675112ffb6168a9e9579305d4618fc7f0a2e6e74.zip
chromium_src-675112ffb6168a9e9579305d4618fc7f0a2e6e74.tar.gz
chromium_src-675112ffb6168a9e9579305d4618fc7f0a2e6e74.tar.bz2
Revert 35888 - Mac: Other approach for IPCing child task_ts.
Based on http://www.foldr.org/~michaelw/log/2009/03/13/ , right now in proofofconcept quality. Works for worker processes too and seems more reliable in general. Makes it impossible to call LaunchApp() concurrently though. Next try: Submitting to get perf numbers, will revert. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35883 Review URL: http://codereview.chromium.org/549002 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/536009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_launcher.cc')
-rw-r--r--chrome/browser/child_process_launcher.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/child_process_launcher.cc b/chrome/browser/child_process_launcher.cc
index be2b801..1ab66c6 100644
--- a/chrome/browser/child_process_launcher.cc
+++ b/chrome/browser/child_process_launcher.cc
@@ -23,10 +23,6 @@
#include "chrome/browser/renderer_host/render_sandbox_host_linux.h"
#endif
-#if defined(OS_MACOSX)
-#include "chrome/browser/mach_broker_mac.h"
-#endif
-
#if defined(OS_POSIX)
#include "base/global_descriptors_posix.h"
#endif
@@ -167,14 +163,6 @@ class ChildProcessLauncher::Context
// Actually launch the app.
if (!base::LaunchApp(cmd_line->argv(), env, fds_to_map, false, &handle))
handle = base::kNullProcessHandle;
-
-
-#if defined(OS_MACOSX)
-task_t foobar(pid_t pid);
- MachBroker::instance()->RegisterPid(
- handle,
- MachBroker::MachInfo().SetTask(foobar(handle)));
-#endif
}
#endif