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

Unified Diff: ppapi/native_client/src/trusted/plugin/file_utils.h

Issue 224803002: Enable mmap and identity-based validation caching on pnacl-{llc,ld}.nexe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix token handover for main nexe Created 6 years, 8 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/native_client/src/trusted/plugin/file_utils.h
diff --git a/ppapi/native_client/src/trusted/plugin/file_utils.h b/ppapi/native_client/src/trusted/plugin/file_utils.h
index 223bf66edacecc93cfb54877a3073c819182d388..f164fc527d4a244fc6ec3a171725ea535484736f 100644
--- a/ppapi/native_client/src/trusted/plugin/file_utils.h
+++ b/ppapi/native_client/src/trusted/plugin/file_utils.h
@@ -10,6 +10,7 @@
#include "native_client/src/include/nacl_string.h"
#include "native_client/src/include/portability_io.h"
#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/private/pp_file_handle.h"
namespace plugin {
namespace file_utils {
@@ -31,8 +32,9 @@ StatusCode SlurpFile(int32_t fd,
nacl::string& out_buf,
size_t max_size_to_read = (1 << 20));
+int32_t ConvertFileDescriptor(PP_FileHandle handle);
+
} // namespace file_utils
} // namespace plugin
#endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_UTILS_H_
-
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/file_downloader.cc ('k') | ppapi/native_client/src/trusted/plugin/file_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698