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

Side by Side Diff: components/nacl/renderer/json_manifest.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
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
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
OLDNEW
« no previous file with comments | « components/nacl/renderer/file_downloader.h ('k') | components/nacl/renderer/manifest_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698