diff options
Diffstat (limited to 'chrome/common/child_process_host.h')
-rw-r--r-- | chrome/common/child_process_host.h | 7 |
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); |