summaryrefslogtreecommitdiffstats
path: root/chrome/browser/zygote_host_linux.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 02:41:26 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 02:41:26 +0000
commit9610ef248891f4be129eb915a43d226350569910 (patch)
treee0d45f8c90d82ec4b95120b2a6926e5b1e4dfd80 /chrome/browser/zygote_host_linux.h
parentf7906654d9ffbf1385843b4c7457797564273a56 (diff)
downloadchromium_src-9610ef248891f4be129eb915a43d226350569910.zip
chromium_src-9610ef248891f4be129eb915a43d226350569910.tar.gz
chromium_src-9610ef248891f4be129eb915a43d226350569910.tar.bz2
Launch processes asynchronously so as not to block the UI thread. For now, renderer only, I'll take care of plugin/worker/utility processes in a followup change. (relanding 32203)
BUG=6844 Review URL: http://codereview.chromium.org/397031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.h')
-rw-r--r--chrome/browser/zygote_host_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/zygote_host_linux.h b/chrome/browser/zygote_host_linux.h
index 5b4244c..f84a88b 100644
--- a/chrome/browser/zygote_host_linux.h
+++ b/chrome/browser/zygote_host_linux.h
@@ -26,6 +26,8 @@ class ZygoteHost {
public:
void Init(const std::string& sandbox_cmd);
+ // Tries to start a renderer process. Returns its pid on success, otherwise
+ // base::kNullProcessHandle;
pid_t ForkRenderer(const std::vector<std::string>& command_line,
const base::GlobalDescriptors::Mapping& mapping);
void EnsureProcessTerminated(pid_t process);