summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_host.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 00:23:19 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 00:23:19 +0000
commitbca7c76708234959efe907c85bb729df27db1e7f (patch)
tree1cd84d02629c01ed493e5a57bf532ae1cef9e59b /chrome/common/child_process_host.h
parentf4d6173a1f95178f4671ba88459db196badfdfac (diff)
downloadchromium_src-bca7c76708234959efe907c85bb729df27db1e7f.zip
chromium_src-bca7c76708234959efe907c85bb729df27db1e7f.tar.gz
chromium_src-bca7c76708234959efe907c85bb729df27db1e7f.tar.bz2
Provide a separate app bundle for subprocesses like the renderer on the Mac.
Remove LSUIElement and related hacks from the browser's app bundle. BUG=8044 TEST=Observe one Chromium and one or more Chromium Helper processes in Activity Monitor Review URL: http://codereview.chromium.org/164177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_host.h')
-rw-r--r--chrome/common/child_process_host.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h
index 926bdd2..95b97b6 100644
--- a/chrome/common/child_process_host.h
+++ b/chrome/common/child_process_host.h
@@ -22,6 +22,13 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver,
public:
virtual ~ChildProcessHost();
+ // Returns the pathname to be used for a child process. If a subprocess
+ // pathname was specified on the command line, that will be used. Otherwise,
+ // the default child process pathname will be returned. On most platforms,
+ // this will be the same as the currently-executing process. On failure,
+ // returns an empty wstring.
+ static std::wstring GetChildPath();
+
// ResourceDispatcherHost::Receiver implementation:
virtual bool Send(IPC::Message* msg);