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

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: Windows build fix Created 7 years, 6 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
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

Powered by Google App Engine
This is Rietveld 408576698