summaryrefslogtreecommitdiffstats
path: root/sandbox/win/tests
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 18:14:22 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 18:14:22 +0000
commitef159f884e077a13cd142bccd9b8ae7bf1ad49cd (patch)
tree3c4f8887c1bb6aab3a90f34637dfc58c92b3c358 /sandbox/win/tests
parent762c75eda5f802b528fbb0da09d1ee053e07409d (diff)
downloadchromium_src-ef159f884e077a13cd142bccd9b8ae7bf1ad49cd.zip
chromium_src-ef159f884e077a13cd142bccd9b8ae7bf1ad49cd.tar.gz
chromium_src-ef159f884e077a13cd142bccd9b8ae7bf1ad49cd.tar.bz2
Sandbox: Add support for Windows 8' AppContainer.
Both sandboxes are not fully compatible yet; it is not possible to enable the AppContainer if the process is to be fully sandboxed (USER_LOCKDOWN), but the sandbox is user configurable anyway. BUG=none TEST=sbox_unittests, sbox_integration_tests Review URL: https://chromiumcodereview.appspot.com/10825425 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/win/tests')
-rw-r--r--sandbox/win/tests/common/controller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sandbox/win/tests/common/controller.h b/sandbox/win/tests/common/controller.h
index b8be2a2..fd7a833 100644
--- a/sandbox/win/tests/common/controller.h
+++ b/sandbox/win/tests/common/controller.h
@@ -107,10 +107,12 @@ class TestRunner {
// the policy manually.
TargetPolicy* GetPolicy();
- // Return the process handle for an asynchronous test.
+ BrokerServices* broker() { return broker_; }
+
+ // Returns the process handle for an asynchronous test.
HANDLE process() { return target_process_; }
- // Return the process ID for an asynchronous test.
+ // Returns the process ID for an asynchronous test.
DWORD process_id() { return target_process_id_; }
private: