diff options
author | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 23:38:35 +0000 |
---|---|---|
committer | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 23:38:35 +0000 |
commit | 6f57e1fc205013820c9a2893603990e678d24b0d (patch) | |
tree | c0ba706bd416b28e4d2d27d62d52ce4c9b9893d5 /sandbox/src/sandbox_policy.h | |
parent | 8b42f25c0341edc6a5eb9e8a60bd69f3e8292583 (diff) | |
download | chromium_src-6f57e1fc205013820c9a2893603990e678d24b0d.zip chromium_src-6f57e1fc205013820c9a2893603990e678d24b0d.tar.gz chromium_src-6f57e1fc205013820c9a2893603990e678d24b0d.tar.bz2 |
Revert 93113 - Add a sandbox API to allow closing open handles at lockdown.
Reverting on suspicion that it's related to NaCl test breakage.
BUG=58069
BUG=74242
TEST=sbox_integration_tests --gtest_filter=HandleCloserTests.*
Review URL: http://codereview.chromium.org/7253054
TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/7462003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/sandbox_policy.h')
-rw-r--r-- | sandbox/src/sandbox_policy.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sandbox/src/sandbox_policy.h b/sandbox/src/sandbox_policy.h index 4f21158..716cefa 100644 --- a/sandbox/src/sandbox_policy.h +++ b/sandbox/src/sandbox_policy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -172,12 +172,6 @@ class TargetPolicy { // a chance to initialize itself. Typically, dlls that cause the target // to crash go here. virtual ResultCode AddDllToUnload(const wchar_t* dll_name) = 0; - - // Adds a handle that will be closed in the target process after lockdown. - // A NULL value for handle_name indicates all handles of the specified type. - // An empty string for handle_name indicates the handle is unnamed. - virtual ResultCode AddKernelObjectToClose(const wchar_t* handle_type, - const wchar_t* handle_name) = 0; }; } // namespace sandbox |