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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.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
Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc
===================================================================
--- ppapi/native_client/src/trusted/plugin/service_runtime.cc (revision 115018)
+++ ppapi/native_client/src/trusted/plugin/service_runtime.cc (working copy)
@@ -276,7 +276,9 @@
this,
&PluginReverseInterface::StreamAsFile_MainThreadContinuation,
open_cont);
- if (!plugin_->StreamAsFile(mapped_url, stream_cc.pp_completion_callback())) {
+ if (!plugin_->StreamAsFile(mapped_url,
+ manifest_->PermitsExtensionUrls(),
+ stream_cc.pp_completion_callback())) {
NaClLog(4,
"OpenManifestEntry_MainThreadContinuation: StreamAsFile failed\n");
nacl::MutexLocker take(&mu_);

Powered by Google App Engine
This is Rietveld 408576698