Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.cc ('k') | components/nacl/loader/nacl_helper_win_64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 35c061596fa4837b8f35e1bcf7c56771f516dff5..0c5d3156a2bae8f58cceac4525492a398335811e 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -719,20 +719,6 @@ void NaClProcessHost::ReplyToRenderer(
ScopedChannelHandle ppapi_channel_handle,
ScopedChannelHandle trusted_channel_handle,
ScopedChannelHandle manifest_service_channel_handle) {
-#if defined(OS_WIN)
- // If we are on 64-bit Windows, the NaCl process's sandbox is
- // managed by a different process from the renderer's sandbox. We
- // need to inform the renderer's sandbox about the NaCl process so
- // that the renderer can send handles to the NaCl process using
- // BrokerDuplicateHandle().
- if (RunningOnWOW64()) {
- if (!content::BrokerAddTargetPeer(process_->GetData().handle)) {
- SendErrorToRenderer("BrokerAddTargetPeer() failed");
- return;
- }
- }
-#endif
-
// Hereafter, we always send an IPC message with handles created above
// which, on Windows, are not closable in this process.
std::string error_message;
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.cc ('k') | components/nacl/loader/nacl_helper_win_64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698