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

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: clear tokens too 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
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 aefc6dcfc898c1e642bb60dd4835a1c1aee294a2..be408faf6f962b54f0fa94aa31bd15aa6ba5675e 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -429,9 +429,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);
};

Powered by Google App Engine
This is Rietveld 408576698