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

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

Issue 11761025: When launching PNaCl helper nexes, explicitly disable IRT loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget to serialize Created 7 years, 11 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/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
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),
11 enable_exception_handling(false) { 11 enable_exception_handling(false),
12 enable_debug_stub(false),
13 enable_ipc_proxy(false),
14 uses_irt(false) {
12 } 15 }
13 16
14 NaClStartParams::~NaClStartParams() { 17 NaClStartParams::~NaClStartParams() {
15 } 18 }
16 19
17 NaClLaunchParams::NaClLaunchParams() 20 NaClLaunchParams::NaClLaunchParams()
18 : render_view_id(0), 21 : render_view_id(0),
19 permission_bits(0) { 22 permission_bits(0),
23 uses_irt(false) {
20 } 24 }
21 25
22 NaClLaunchParams::NaClLaunchParams(const std::string& manifest_url_, 26 NaClLaunchParams::NaClLaunchParams(const std::string& manifest_url_,
23 int render_view_id_, 27 int render_view_id_,
24 uint32 permission_bits_) 28 uint32 permission_bits_,
29 bool uses_irt_)
25 : manifest_url(manifest_url_), 30 : manifest_url(manifest_url_),
26 render_view_id(render_view_id_), 31 render_view_id(render_view_id_),
27 permission_bits(permission_bits_) { 32 permission_bits(permission_bits_),
33 uses_irt(uses_irt_) {
28 } 34 }
29 35
30 NaClLaunchParams::NaClLaunchParams(const NaClLaunchParams& l) { 36 NaClLaunchParams::NaClLaunchParams(const NaClLaunchParams& l) {
31 manifest_url = l.manifest_url; 37 manifest_url = l.manifest_url;
32 render_view_id = l.render_view_id; 38 render_view_id = l.render_view_id;
33 permission_bits = l.permission_bits; 39 permission_bits = l.permission_bits;
40 uses_irt = l.uses_irt;
34 } 41 }
35 42
36 NaClLaunchParams::~NaClLaunchParams() { 43 NaClLaunchParams::~NaClLaunchParams() {
37 } 44 }
38 45
39 } // namespace nacl 46 } // 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