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

Side by Side Diff: components/nacl/renderer/plugin/pnacl_resources.h

Issue 876483002: NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update #include guards Created 5 years, 10 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
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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_RESOURCES_H_ 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_
6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_RESOURCES_H_ 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "components/nacl/renderer/plugin/plugin_error.h"
11 #include "native_client/src/include/nacl_macros.h" 12 #include "native_client/src/include/nacl_macros.h"
12 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" 13 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h"
13
14 #include "ppapi/c/private/ppb_nacl_private.h" 14 #include "ppapi/c/private/ppb_nacl_private.h"
15 #include "ppapi/cpp/completion_callback.h" 15 #include "ppapi/cpp/completion_callback.h"
16 16
17 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h"
18
19 namespace plugin { 17 namespace plugin {
20 18
21 class Plugin; 19 class Plugin;
22 20
23 // Loads a list of resources, providing a way to get file descriptors for 21 // Loads a list of resources, providing a way to get file descriptors for
24 // these resources. URLs for resources are resolved by the manifest 22 // these resources. URLs for resources are resolved by the manifest
25 // and point to pnacl component filesystem resources. 23 // and point to pnacl component filesystem resources.
26 class PnaclResources { 24 class PnaclResources {
27 public: 25 public:
28 explicit PnaclResources(Plugin* plugin); 26 explicit PnaclResources(Plugin* plugin);
(...skipping 23 matching lines...) Expand all
52 std::string ld_tool_name_; 50 std::string ld_tool_name_;
53 51
54 // File info for llc and ld executables, after they've been opened. 52 // File info for llc and ld executables, after they've been opened.
55 // Only valid after the callback for StartLoad() has been called, and until 53 // Only valid after the callback for StartLoad() has been called, and until
56 // TakeLlcFileInfo()/TakeLdFileInfo() is called. 54 // TakeLlcFileInfo()/TakeLdFileInfo() is called.
57 PP_NaClFileInfo llc_file_info_; 55 PP_NaClFileInfo llc_file_info_;
58 PP_NaClFileInfo ld_file_info_; 56 PP_NaClFileInfo ld_file_info_;
59 }; 57 };
60 58
61 } // namespace plugin 59 } // namespace plugin
62 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_RESOURCES_H_ 60 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698