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

Unified Diff: sandbox/src/sandbox_policy_base.cc

Issue 543058: Prepare the sandbox for integration with NaCl broker for 64-bit Windows. The ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « sandbox/src/sandbox.cc ('k') | sandbox/src/target_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/src/sandbox_policy_base.cc
===================================================================
--- sandbox/src/sandbox_policy_base.cc (revision 36231)
+++ sandbox/src/sandbox_policy_base.cc (working copy)
@@ -389,6 +389,8 @@
uint32 tag = ipc->ipc_tag;
switch (tag) {
+#ifndef _WIN64 // TODO(gregoryd): To build this code for 64-bits Windows we
+ // need to make sure IPC is fully ported to Win64.
case IPC_PING1_TAG: {
uint32 cookie = bit_cast<uint32>(arg1);
COMPILE_ASSERT(sizeof(cookie) == sizeof(arg1), breaks_with_64_bit);
@@ -398,6 +400,7 @@
ipc->return_info.extended[1].unsigned_int = 2 * cookie;
return true;
}
+#endif
case IPC_PING2_TAG: {
CountedBuffer* io_buffer = reinterpret_cast<CountedBuffer*>(arg1);
if (sizeof(uint32) != io_buffer->Size())
« no previous file with comments | « sandbox/src/sandbox.cc ('k') | sandbox/src/target_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698