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

Side by Side Diff: components/nacl/common/pnacl_types.h

Issue 1005173006: Add a switch for using PNaCl Subzero and use it for -O0 translation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix takefileinfo Created 5 years, 8 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 | « components/nacl/common/nacl_switches.cc ('k') | components/nacl/common/pnacl_types.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 #ifndef COMPONENTS_NACL_COMMON_PNACL_TYPES_H_ 5 #ifndef COMPONENTS_NACL_COMMON_PNACL_TYPES_H_
6 #define COMPONENTS_NACL_COMMON_PNACL_TYPES_H_ 6 #define COMPONENTS_NACL_COMMON_PNACL_TYPES_H_
7 7
8 // This file exists (instead of putting this type into nacl_types.h) because 8 // This file exists (instead of putting this type into nacl_types.h) because
9 // nacl_types is built into nacl_helper in addition to chrome, and we don't 9 // nacl_types is built into nacl_helper in addition to chrome, and we don't
10 // want to pull src/url/ into there, since it would be unnecessary bloat. 10 // want to pull src/url/ into there, since it would be unnecessary bloat.
11 11
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace nacl { 15 namespace nacl {
16 // Cache-related information about pexe files, sent from the plugin/renderer 16 // Cache-related information about pexe files, sent from the plugin/renderer
17 // to the browser. 17 // to the browser.
18 // 18 //
19 // If you change this, you will also need to update the IPC serialization in 19 // If you change this, you will also need to update the IPC serialization in
20 // nacl_host_messages.h. 20 // nacl_host_messages.h.
21 struct PnaclCacheInfo { 21 struct PnaclCacheInfo {
22 PnaclCacheInfo(); 22 PnaclCacheInfo();
23 ~PnaclCacheInfo(); 23 ~PnaclCacheInfo();
24 GURL pexe_url; 24 GURL pexe_url;
25 int abi_version; 25 int abi_version;
26 int opt_level; 26 int opt_level;
27 base::Time last_modified; 27 base::Time last_modified;
28 std::string etag; 28 std::string etag;
29 bool has_no_store_header; 29 bool has_no_store_header;
30 bool use_subzero;
30 std::string sandbox_isa; 31 std::string sandbox_isa;
31 std::string extra_flags; 32 std::string extra_flags;
32 }; 33 };
33 34
34 } // namespace nacl 35 } // namespace nacl
35 36
36 #endif // COMPONENTS_NACL_COMMON_PNACL_TYPES_H_ 37 #endif // COMPONENTS_NACL_COMMON_PNACL_TYPES_H_
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_switches.cc ('k') | components/nacl/common/pnacl_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698