diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 02:41:26 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 02:41:26 +0000 |
commit | 9610ef248891f4be129eb915a43d226350569910 (patch) | |
tree | e0d45f8c90d82ec4b95120b2a6926e5b1e4dfd80 /chrome/browser/zygote_host_linux.h | |
parent | f7906654d9ffbf1385843b4c7457797564273a56 (diff) | |
download | chromium_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.h | 2 |
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); |