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

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

Issue 9159037: Use CORS for fetching NaCl resources from extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add webkit bug# Created 8 years, 11 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/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc
index 07dd318a79f10cc5e6a0e16ab2b58b22587f06b6..992327331b1d035817582abafa0d39f39a149e2f 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_nacl_file_rpc_server.cc
@@ -37,9 +37,7 @@ void NaClFileRpcServer::StreamAsFile(
plugin::Plugin* plugin = LookupBrowserPppForInstance(instance)->plugin();
// Will always call the callback on success or failure.
- bool success = plugin->StreamAsFile(url,
- false, // Don't allow extension access.
- remote_callback);
+ bool success = plugin->StreamAsFile(url, remote_callback);
DebugPrintf("NaClFile::StreamAsFile: success=%d\n", success);
rpc->result = NACL_SRPC_RESULT_OK;
« no previous file with comments | « chrome/test/nacl_test_injection/buildbot_nacl_integration.py ('k') | ppapi/native_client/src/trusted/plugin/file_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698