summaryrefslogtreecommitdiffstats
path: root/sandbox/src/target_process.cc
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-03 03:26:54 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-03 03:26:54 +0000
commitbbf2f954ea4b583dd223a1729d0dec9e6d0284c1 (patch)
treeb7f69746e8f30889d4823bdb7df409eecf957d19 /sandbox/src/target_process.cc
parent42ff2c813339961af8e09a372979a7bf7be77a5d (diff)
downloadchromium_src-bbf2f954ea4b583dd223a1729d0dec9e6d0284c1.zip
chromium_src-bbf2f954ea4b583dd223a1729d0dec9e6d0284c1.tar.gz
chromium_src-bbf2f954ea4b583dd223a1729d0dec9e6d0284c1.tar.bz2
Porting sbox IPC to 64 bit
-IPC unit tests enabled -Integration IPCTest test enabled -All unit test pass (62 tests) Other tests require interceptor fu. BUG=27218 TEST= unit tests included Review URL: http://codereview.chromium.org/661299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/target_process.cc')
-rw-r--r--sandbox/src/target_process.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sandbox/src/target_process.cc b/sandbox/src/target_process.cc
index fd2d408..a9848c5 100644
--- a/sandbox/src/target_process.cc
+++ b/sandbox/src/target_process.cc
@@ -105,10 +105,7 @@ TargetProcess::~TargetProcess() {
return;
}
-#if !defined(_WIN64)
- // Bug 27218: We don't have IPC yet.
delete ipc_server_;
-#endif
::CloseHandle(lockdown_token_);
::CloseHandle(initial_token_);
@@ -302,14 +299,11 @@ DWORD TargetProcess::Init(Dispatcher* ipc_dispatcher, void* policy,
::GetLastError() : ERROR_INVALID_FUNCTION;
}
-#if !defined(_WIN64)
- // Bug 27218: We don't have IPC yet.
ipc_server_ = new SharedMemIPCServer(sandbox_process_, sandbox_process_id_,
job_, thread_pool_, ipc_dispatcher);
if (!ipc_server_->Init(shared_memory, shared_IPC_size, kIPCChannelSize))
return ERROR_NOT_ENOUGH_MEMORY;
-#endif
// After this point we cannot use this handle anymore.
sandbox_thread_ = NULL;