Index: content/browser/zygote_host/zygote_host_impl_linux.h |
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.h b/content/browser/zygote_host/zygote_host_impl_linux.h |
index e18e098088bfa04f0e5e59aac515c84c3646a43e..643989f07eee2e13b11f84729666733088979d13 100644 |
--- a/content/browser/zygote_host/zygote_host_impl_linux.h |
+++ b/content/browser/zygote_host/zygote_host_impl_linux.h |
@@ -82,6 +82,9 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHost { |
ssize_t ReadReply(void* buf, size_t buflen); |
+ // Whether we should use the namespace sandbox instead of the setuid sandbox. |
+ bool ShouldUseNamespaceSandbox(); |
+ |
int control_fd_; // the socket to the zygote |
// A lock protecting all communication with the zygote. This lock must be |
// acquired before sending a command and released after the result has been |
@@ -89,7 +92,7 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHost { |
base::Lock control_lock_; |
pid_t pid_; |
bool init_; |
- bool using_suid_sandbox_; |
+ bool use_suid_sandbox_for_adj_oom_score_; |
std::string sandbox_binary_; |
bool have_read_sandbox_status_word_; |
int sandbox_status_; |