| OLD | NEW |
| 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 COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ |
| 6 #define COMPONENTS_NACL_RENDERER_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 "components/nacl/renderer/plugin/plugin_error.h" |
| 12 #include "components/nacl/renderer/ppb_nacl_private.h" |
| 12 #include "native_client/src/include/nacl_macros.h" | 13 #include "native_client/src/include/nacl_macros.h" |
| 13 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 14 #include "native_client/src/trusted/desc/nacl_desc_wrapper.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 namespace plugin { | 17 namespace plugin { |
| 18 | 18 |
| 19 class Plugin; | 19 class Plugin; |
| 20 | 20 |
| 21 // 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 |
| 22 // these resources. URLs for resources are resolved by the manifest | 22 // these resources. URLs for resources are resolved by the manifest |
| 23 // and point to pnacl component filesystem resources. | 23 // and point to pnacl component filesystem resources. |
| 24 class PnaclResources { | 24 class PnaclResources { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 51 | 51 |
| 52 // 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. |
| 53 // 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 |
| 54 // TakeLlcFileInfo()/TakeLdFileInfo() is called. | 54 // TakeLlcFileInfo()/TakeLdFileInfo() is called. |
| 55 PP_NaClFileInfo llc_file_info_; | 55 PP_NaClFileInfo llc_file_info_; |
| 56 PP_NaClFileInfo ld_file_info_; | 56 PP_NaClFileInfo ld_file_info_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace plugin | 59 } // namespace plugin |
| 60 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ | 60 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ |
| OLD | NEW |