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

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

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder 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
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/common/nacl_types.h"
6
7 namespace nacl {
8
9 NaClStartParams::NaClStartParams()
10 : validation_cache_enabled(false),
11 enable_exception_handling(false),
12 enable_debug_stub(false),
13 enable_ipc_proxy(false),
14 uses_irt(false),
15 enable_dyncode_syscalls(false) {
16 }
17
18 NaClStartParams::~NaClStartParams() {
19 }
20
21 NaClLaunchParams::NaClLaunchParams()
22 : render_view_id(0),
23 permission_bits(0),
24 uses_irt(false),
25 enable_dyncode_syscalls(false),
26 enable_exception_handling(false) {
27 }
28
29 NaClLaunchParams::NaClLaunchParams(const std::string& manifest_url,
30 int render_view_id,
31 uint32 permission_bits,
32 bool uses_irt,
33 bool enable_dyncode_syscalls,
34 bool enable_exception_handling)
35 : manifest_url(manifest_url),
36 render_view_id(render_view_id),
37 permission_bits(permission_bits),
38 uses_irt(uses_irt),
39 enable_dyncode_syscalls(enable_dyncode_syscalls),
40 enable_exception_handling(enable_exception_handling) {
41 }
42
43 NaClLaunchParams::NaClLaunchParams(const NaClLaunchParams& l) {
44 manifest_url = l.manifest_url;
45 render_view_id = l.render_view_id;
46 permission_bits = l.permission_bits;
47 uses_irt = l.uses_irt;
48 enable_dyncode_syscalls = l.enable_dyncode_syscalls;
49 enable_exception_handling = l.enable_exception_handling;
50 }
51
52 NaClLaunchParams::~NaClLaunchParams() {
53 }
54
55 } // namespace nacl
OLDNEW
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698