| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "build/build_config.h" | 5 #include "build/build_config.h" | 
| 6 | 6 | 
| 7 #include "chrome/browser/nacl_host/nacl_process_host.h" | 7 #include "chrome/browser/nacl_host/nacl_process_host.h" | 
| 8 | 8 | 
| 9 #if defined(OS_POSIX) | 9 #if defined(OS_POSIX) | 
| 10 #include <fcntl.h> | 10 #include <fcntl.h> | 
| 11 #endif | 11 #endif | 
| 12 | 12 | 
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" | 
|  | 14 #include "base/utf_string_conversions.h" | 
| 14 #include "chrome/browser/renderer_host/resource_message_filter.h" | 15 #include "chrome/browser/renderer_host/resource_message_filter.h" | 
| 15 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" | 
| 16 #include "chrome/common/logging_chrome.h" | 17 #include "chrome/common/logging_chrome.h" | 
| 17 #include "chrome/common/nacl_cmd_line.h" | 18 #include "chrome/common/nacl_cmd_line.h" | 
| 18 #include "chrome/common/nacl_messages.h" | 19 #include "chrome/common/nacl_messages.h" | 
| 19 #include "chrome/common/render_messages.h" | 20 #include "chrome/common/render_messages.h" | 
| 20 #include "ipc/ipc_switches.h" | 21 #include "ipc/ipc_switches.h" | 
| 21 | 22 | 
| 22 #if defined(OS_POSIX) | 23 #if defined(OS_POSIX) | 
| 23 #include "ipc/ipc_channel_posix.h" | 24 #include "ipc/ipc_channel_posix.h" | 
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 276   if (fnIsWow64Process != NULL) { | 277   if (fnIsWow64Process != NULL) { | 
| 277     BOOL bIsWow64 = FALSE; | 278     BOOL bIsWow64 = FALSE; | 
| 278     if (fnIsWow64Process(GetCurrentProcess(),&bIsWow64)) { | 279     if (fnIsWow64Process(GetCurrentProcess(),&bIsWow64)) { | 
| 279       if (bIsWow64) { | 280       if (bIsWow64) { | 
| 280         running_on_wow64_ = true; | 281         running_on_wow64_ = true; | 
| 281       } | 282       } | 
| 282     } | 283     } | 
| 283   } | 284   } | 
| 284 } | 285 } | 
| 285 #endif | 286 #endif | 
| OLD | NEW | 
|---|