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

Unified Diff: components/nacl/renderer/plugin/plugin.cc

Issue 649603004: Non-SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 5 years, 10 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: components/nacl/renderer/plugin/plugin.cc
diff --git a/components/nacl/renderer/plugin/plugin.cc b/components/nacl/renderer/plugin/plugin.cc
index b42034d5b4148fa320161173a09c16a645ee16f1..e99e0f8df20b4410c91579fff2d566bce3b31bfb 100644
--- a/components/nacl/renderer/plugin/plugin.cc
+++ b/components/nacl/renderer/plugin/plugin.cc
@@ -359,6 +359,10 @@ void Plugin::NaClManifestFileDidOpen(int32_t pp_error) {
// Will always call the callback on success or failure.
nacl_interface_->DownloadNexe(pp_instance(),
program_url.c_str(),
+ // pre-open resource files on nonsfi mode
+ // TODO(yusukes): Enable the feature for
+ // SFI-NaCl too.
+ uses_nonsfi_mode,
&nexe_file_info_,
open_callback.pp_completion_callback());
return;

Powered by Google App Engine
This is Rietveld 408576698