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

Side by Side Diff: chrome/common/nacl_types.cc

Issue 18045007: Show more different NaCl loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ipc/ipc_platform_file.h"
6 7
7 namespace nacl { 8 namespace nacl {
8 9
9 NaClStartParams::NaClStartParams() 10 NaClStartParams::NaClStartParams()
10 : validation_cache_enabled(false), 11 : validation_cache_enabled(false),
11 enable_exception_handling(false), 12 enable_exception_handling(false),
12 enable_debug_stub(false), 13 enable_debug_stub(false),
13 enable_ipc_proxy(false), 14 enable_ipc_proxy(false),
14 uses_irt(false), 15 uses_irt(false),
15 enable_dyncode_syscalls(false) { 16 enable_dyncode_syscalls(false) {
(...skipping 29 matching lines...) Expand all
45 render_view_id = l.render_view_id; 46 render_view_id = l.render_view_id;
46 permission_bits = l.permission_bits; 47 permission_bits = l.permission_bits;
47 uses_irt = l.uses_irt; 48 uses_irt = l.uses_irt;
48 enable_dyncode_syscalls = l.enable_dyncode_syscalls; 49 enable_dyncode_syscalls = l.enable_dyncode_syscalls;
49 enable_exception_handling = l.enable_exception_handling; 50 enable_exception_handling = l.enable_exception_handling;
50 } 51 }
51 52
52 NaClLaunchParams::~NaClLaunchParams() { 53 NaClLaunchParams::~NaClLaunchParams() {
53 } 54 }
54 55
56 NaClLaunchResult::NaClLaunchResult()
57 : imc_channel_handle(IPC::InvalidPlatformFileForTransit()),
58 ipc_channel_handle(),
59 plugin_pid(base::kNullProcessId),
60 plugin_child_id(0) {
61 }
62
63 NaClLaunchResult::NaClLaunchResult(
64 FileDescriptor imc_channel_handle,
65 const IPC::ChannelHandle& ipc_channel_handle,
66 base::ProcessId plugin_pid,
67 int plugin_child_id)
68 : imc_channel_handle(imc_channel_handle),
69 ipc_channel_handle(ipc_channel_handle),
70 plugin_pid(plugin_pid),
71 plugin_child_id(plugin_child_id) {
72 }
73
74 NaClLaunchResult::~NaClLaunchResult() {
75 }
76
55 } // namespace nacl 77 } // namespace nacl
OLDNEW
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/renderer/pepper/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698