Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / nacl / common / pnacl_types.h
blobfdebd58a45fc9a73cadd45d1ae6905349b7bc571
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_NACL_COMMON_PNACL_TYPES_H_
6 #define COMPONENTS_NACL_COMMON_PNACL_TYPES_H_
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
10 // want to pull src/url/ into there, since it would be unnecessary bloat.
12 #include "base/time/time.h"
13 #include "url/gurl.h"
15 namespace nacl {
16 // Cache-related information about pexe files, sent from the plugin/renderer
17 // to the browser.
19 // If you change this, you will also need to update the IPC serialization in
20 // nacl_host_messages.h.
21 struct PnaclCacheInfo {
22 PnaclCacheInfo();
23 ~PnaclCacheInfo();
24 GURL pexe_url;
25 int abi_version;
26 int opt_level;
27 base::Time last_modified;
28 std::string etag;
29 bool has_no_store_header;
30 bool use_subzero;
31 std::string sandbox_isa;
32 std::string extra_flags;
35 } // namespace nacl
37 #endif // COMPONENTS_NACL_COMMON_PNACL_TYPES_H_