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

Side by Side Diff: components/nacl/common/nacl_types.cc

Issue 572973002: NaCl: Simpler validation for main nexe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years 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
« no previous file with comments | « components/nacl/common/nacl_types.h ('k') | components/nacl/loader/nacl_listener.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/nacl/common/nacl_types.h" 5 #include "components/nacl/common/nacl_types.h"
6 #include "ipc/ipc_platform_file.h" 6 #include "ipc/ipc_platform_file.h"
7 7
8 namespace nacl { 8 namespace nacl {
9 9
10 NaClStartParams::NaClStartParams() 10 NaClStartParams::NaClStartParams()
11 : nexe_file(IPC::InvalidPlatformFileForTransit()), 11 : nexe_file(IPC::InvalidPlatformFileForTransit()),
12 nexe_token_lo(0),
13 nexe_token_hi(0),
14 validation_cache_enabled(false), 12 validation_cache_enabled(false),
15 enable_debug_stub(false), 13 enable_debug_stub(false),
16 enable_ipc_proxy(false), 14 enable_ipc_proxy(false),
17 process_type(kUnknownNaClProcessType), 15 process_type(kUnknownNaClProcessType),
18 crash_info_shmem_handle(base::SharedMemory::NULLHandle()) { 16 crash_info_shmem_handle(base::SharedMemory::NULLHandle()) {
19 } 17 }
20 18
21 NaClStartParams::~NaClStartParams() { 19 NaClStartParams::~NaClStartParams() {
22 } 20 }
23 21
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 manifest_service_ipc_channel_handle(manifest_service_ipc_channel_handle), 73 manifest_service_ipc_channel_handle(manifest_service_ipc_channel_handle),
76 plugin_pid(plugin_pid), 74 plugin_pid(plugin_pid),
77 plugin_child_id(plugin_child_id), 75 plugin_child_id(plugin_child_id),
78 crash_info_shmem_handle(crash_info_shmem_handle) { 76 crash_info_shmem_handle(crash_info_shmem_handle) {
79 } 77 }
80 78
81 NaClLaunchResult::~NaClLaunchResult() { 79 NaClLaunchResult::~NaClLaunchResult() {
82 } 80 }
83 81
84 } // namespace nacl 82 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_types.h ('k') | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698