| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/nacl_types.h" | 5 #include "chrome/common/nacl_types.h" |
| 6 | 6 |
| 7 namespace nacl { | 7 namespace nacl { |
| 8 | 8 |
| 9 NaClStartParams::NaClStartParams() | 9 NaClStartParams::NaClStartParams() |
| 10 : validation_cache_enabled(false), | 10 : validation_cache_enabled(false), |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 render_view_id = l.render_view_id; | 45 render_view_id = l.render_view_id; |
| 46 permission_bits = l.permission_bits; | 46 permission_bits = l.permission_bits; |
| 47 uses_irt = l.uses_irt; | 47 uses_irt = l.uses_irt; |
| 48 enable_dyncode_syscalls = l.enable_dyncode_syscalls; | 48 enable_dyncode_syscalls = l.enable_dyncode_syscalls; |
| 49 enable_exception_handling = l.enable_exception_handling; | 49 enable_exception_handling = l.enable_exception_handling; |
| 50 } | 50 } |
| 51 | 51 |
| 52 NaClLaunchParams::~NaClLaunchParams() { | 52 NaClLaunchParams::~NaClLaunchParams() { |
| 53 } | 53 } |
| 54 | 54 |
| 55 NaClLaunchResult::NaClLaunchResult() |
| 56 #if defined(OS_WIN) |
| 57 : imc_channel_handle(-1), |
| 58 #else |
| 59 : imc_channel_handle(), |
| 60 #endif |
| 61 ipc_channel_handle(), |
| 62 plugin_pid(base::kNullProcessId), |
| 63 plugin_child_id(0) { |
| 64 } |
| 65 |
| 66 NaClLaunchResult::NaClLaunchResult( |
| 67 FileDescriptor imc_channel_handle, |
| 68 const IPC::ChannelHandle& ipc_channel_handle, |
| 69 base::ProcessId plugin_pid, |
| 70 int plugin_child_id) |
| 71 : imc_channel_handle(imc_channel_handle), |
| 72 ipc_channel_handle(ipc_channel_handle), |
| 73 plugin_pid(plugin_pid), |
| 74 plugin_child_id(plugin_child_id) { |
| 75 } |
| 76 |
| 77 NaClLaunchResult::~NaClLaunchResult() { |
| 78 } |
| 79 |
| 55 } // namespace nacl | 80 } // namespace nacl |
| OLD | NEW |