From 126720dd09a08ae7391568fe19f403a050be0627 Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Thu, 18 Sep 2008 01:45:09 +0000 Subject: back out my sbox change TBR=nsylvain Review URL: http://codereview.chromium.org/3132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2353 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/src/sandbox_policy_base.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'sandbox/src/sandbox_policy_base.h') diff --git a/sandbox/src/sandbox_policy_base.h b/sandbox/src/sandbox_policy_base.h index 4b81dbd..6f89f2a 100644 --- a/sandbox/src/sandbox_policy_base.h +++ b/sandbox/src/sandbox_policy_base.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ -#define SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ +#ifndef SANDBOX_SRC_SANDBOX_POLICY_BASE_H__ +#define SANDBOX_SRC_SANDBOX_POLICY_BASE_H__ #include #include @@ -80,11 +80,6 @@ class PolicyBase : public Dispatcher, public TargetPolicy { virtual ResultCode AddRule(SubSystem subsystem, Semantics semantics, const wchar_t* pattern); - virtual ResultCode AddDllToUnload(const wchar_t* dll_name) { - blacklisted_dlls_.push_back(std::wstring(dll_name)); - return SBOX_ALL_OK; - } - std::wstring GetDesktop() const { return desktop_; } @@ -147,13 +142,11 @@ class PolicyBase : public Dispatcher, public TargetPolicy { bool file_system_init_; // Operation mode for the interceptions. bool relaxed_interceptions_; - // The list of dlls to unload in the target process. - std::vector blacklisted_dlls_; - DISALLOW_COPY_AND_ASSIGN(PolicyBase); + DISALLOW_EVIL_CONSTRUCTORS(PolicyBase); }; } // namespace sandbox -#endif // SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ +#endif // SANDBOX_SRC_SANDBOX_POLICY_BASE_H__ -- cgit v1.1