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

Unified Diff: ppapi/native_client/src/trusted/plugin/module_ppapi.cc

Issue 9158005: RFC: Add an interface for having the browser open a pnacl support file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a test, do some tweaks. Created 8 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: ppapi/native_client/src/trusted/plugin/module_ppapi.cc
diff --git a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
index bb2acfd9969c523f154008bfbd83ab2effa5e7b5..d4ec53f3dfae074f68b4bf5400705ea3e3008c9d 100644
--- a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
+++ b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
@@ -49,6 +49,7 @@ class ModulePpapi : public pp::Module {
launch_nacl_process = reinterpret_cast<LaunchNaClProcessFunc>(
private_interface_->LaunchSelLdr);
get_urandom_fd = private_interface_->UrandomFD;
+ plugin::get_readonly_pnacl_fd = private_interface_->GetReadonlyPnaclFd;
// In the plugin, we don't need high resolution time of day.
NaClAllowLowResolutionTimeOfDay();

Powered by Google App Engine
This is Rietveld 408576698