Index: sandbox/linux/suid/client/setuid_sandbox_client.h |
=================================================================== |
--- sandbox/linux/suid/client/setuid_sandbox_client.h (revision 149703) |
+++ sandbox/linux/suid/client/setuid_sandbox_client.h (working copy) |
@@ -6,9 +6,8 @@ |
#define SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_ |
#include "base/basictypes.h" |
+#include "base/environment.h" |
-namespace base { class Environment; } |
- |
namespace sandbox { |
// Helper class to use the setuid sandbox. This class is to be used both |
@@ -39,8 +38,6 @@ |
bool IsInNewPIDNamespace() const; |
// Did the setuid helper create a new network namespace ? |
bool IsInNewNETNamespace() const; |
- // Are we done and fully sandboxed ? |
- bool IsSandboxed() const; |
// Set-up the environment. This should be done prior to launching the setuid |
// helper. |
@@ -49,7 +46,6 @@ |
private: |
// Holds the environment. Will never be NULL. |
base::Environment* env_; |
- bool sandboxed_; |
DISALLOW_IMPLICIT_CONSTRUCTORS(SetuidSandboxClient); |
}; |