OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_JSON_MANIFEST_H | 5 #ifndef COMPONENTS_NACL_RENDERER_JSON_MANIFEST_H |
6 #define COMPONENTS_NACL_RENDERER_JSON_MANIFEST_H | 6 #define COMPONENTS_NACL_RENDERER_JSON_MANIFEST_H |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "components/nacl/renderer/ppb_nacl_private.h" | 14 #include "components/nacl/renderer/ppb_nacl_private.h" |
15 | 15 |
16 namespace nacl { | 16 namespace nacl { |
17 class JsonManifest; | 17 class JsonManifest; |
18 class NexeLoadManager; | |
19 struct NaClResourcePrefetchRequest; | 18 struct NaClResourcePrefetchRequest; |
20 | 19 |
21 class JsonManifest { | 20 class JsonManifest { |
22 public: | 21 public: |
23 struct ErrorInfo { | 22 struct ErrorInfo { |
24 PP_NaClError error; | 23 PP_NaClError error; |
25 std::string string; | 24 std::string string; |
26 }; | 25 }; |
27 | 26 |
28 JsonManifest(const std::string& manifest_base_url, | 27 JsonManifest(const std::string& manifest_base_url, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 bool nonsfi_enabled_; | 72 bool nonsfi_enabled_; |
74 bool pnacl_debug_; | 73 bool pnacl_debug_; |
75 | 74 |
76 // The dictionary of manifest information parsed in Init(). | 75 // The dictionary of manifest information parsed in Init(). |
77 std::unique_ptr<base::DictionaryValue> dictionary_; | 76 std::unique_ptr<base::DictionaryValue> dictionary_; |
78 }; | 77 }; |
79 | 78 |
80 } // namespace nacl | 79 } // namespace nacl |
81 | 80 |
82 #endif // COMPONENTS_NACL_RENDERER_JSON_MANIFEST_H | 81 #endif // COMPONENTS_NACL_RENDERER_JSON_MANIFEST_H |
OLD | NEW |