summaryrefslogtreecommitdiffstats
path: root/content/browser/zygote_host_impl_linux.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 18:34:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 18:34:20 +0000
commit52356d21dd088abc0bf57303ceb5399c7cd998ef (patch)
tree5a36808d51449c3eaeaff102a20d99f01735d685 /content/browser/zygote_host_impl_linux.cc
parent62de8837965ca7ad93bdd72f4061b3243ab5731d (diff)
downloadchromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.zip
chromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.tar.gz
chromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.tar.bz2
Remove render_sandbox_host_linux.h include from chrome. It was only used to get the pid of that process, so added a method to the ZygoteHost interface to return it instead.
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9536019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/zygote_host_impl_linux.cc')
-rw-r--r--content/browser/zygote_host_impl_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/zygote_host_impl_linux.cc b/content/browser/zygote_host_impl_linux.cc
index b2d9380..7a1818d 100644
--- a/content/browser/zygote_host_impl_linux.cc
+++ b/content/browser/zygote_host_impl_linux.cc
@@ -454,6 +454,10 @@ pid_t ZygoteHostImpl::GetPid() const {
return pid_;
}
+pid_t ZygoteHostImpl::GetSandboxHelperPid() const {
+ return RenderSandboxHostLinux::GetInstance()->pid();
+}
+
int ZygoteHostImpl::GetSandboxStatus() const {
if (have_read_sandbox_status_word_)
return sandbox_status_;