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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc

Issue 8974020: Change pnacl to read all resources from the extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « no previous file | ppapi/native_client/src/trusted/plugin/file_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc (revision 115141)
+++ ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc (working copy)
@@ -37,7 +37,9 @@
plugin::Plugin* plugin = LookupBrowserPppForInstance(instance)->plugin();
// Will always call the callback on success or failure.
- bool success = plugin->StreamAsFile(url, remote_callback);
+ bool success = plugin->StreamAsFile(url,
+ false, // Don't allow extension access.
+ remote_callback);
DebugPrintf("NaClFile::StreamAsFile: success=%d\n", success);
rpc->result = NACL_SRPC_RESULT_OK;
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/file_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698