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

Unified Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: concat filepath literal Created 6 years, 7 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/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_nacl_private.idl
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index 8bdcc07f80a748fb9802a1c611b74135a90b4d58..530132dc8ae8ab9989aa29400696a0923c9d956f 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -426,9 +426,14 @@ interface PPB_NaCl_Private {
[in] str_t message);
/* Downloads the .nexe file at the given URL to a file, and sets |handle|
- * to a handle to a file containing its contents. */
+ * to a handle to a file containing its contents.
+ * If metadata for identity-based validation caching is available
+ * then it sets file_token_lo and file_token_lo (otherwise left untouched).
+ */
void DownloadNexe([in] PP_Instance instance,
[in] str_t url,
[out] PP_FileHandle handle,
+ [out] uint64_t file_token_lo,
+ [out] uint64_t file_token_hi,
[in] PP_CompletionCallback callback);
};
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698