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

Unified Diff: ppapi/nacl_irt/irt_manifest.h

Issue 649603004: Non-SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/nacl_irt/manifest_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/irt_manifest.h
diff --git a/ppapi/nacl_irt/irt_manifest.h b/ppapi/nacl_irt/irt_manifest.h
index b1e09235747ee42e28247c958964be3fe4b94b97..5938a45e5f27ad66fa1fc4a60acd22635e3b7e5d 100644
--- a/ppapi/nacl_irt/irt_manifest.h
+++ b/ppapi/nacl_irt/irt_manifest.h
@@ -5,6 +5,9 @@
#ifndef PPAPI_NACL_IRT_IRT_MANIFEST_H_
#define PPAPI_NACL_IRT_IRT_MANIFEST_H_
+#include <map>
+#include <string>
+
#include "ppapi/proxy/ppapi_proxy_export.h"
namespace ppapi {
@@ -16,6 +19,11 @@ namespace ppapi {
// on failure. See also irt_open_resource()'s comment.
PPAPI_PROXY_EXPORT int IrtOpenResource(const char* file, int* fd);
+#if !defined(OS_NACL_SFI)
+PPAPI_PROXY_EXPORT void RegisterPreopenedDescriptorsNonSfi(
+ std::map<std::string, int>* key_fd_map);
+#endif
+
} // namespace ppapi
#endif // PPAPI_NACL_IRT_IRT_MANIFEST_H_
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/nacl_irt/manifest_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698