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

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: code review 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
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..44b9c35ab815eae3d6fc721b2fba52c8e8281bb2 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,12 @@ 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 int IrtOpenResourceNonSfi(const char* file, int* fd);
+PPAPI_PROXY_EXPORT void RegisterPreopenedDescriptorsNonSfi(
+ const std::map<std::string, int>& key_fd_map);
+#endif
+
} // namespace ppapi
#endif // PPAPI_NACL_IRT_IRT_MANIFEST_H_

Powered by Google App Engine
This is Rietveld 408576698