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

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

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/sel_ldr_launcher_chrome.cc
===================================================================
--- ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc (revision 136022)
+++ ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc (working copy)
@@ -11,11 +11,18 @@
namespace plugin {
bool SelLdrLauncherChrome::Start(const char* url) {
+ return Start(0, url);
+}
+
+bool SelLdrLauncherChrome::Start(PP_Instance instance, const char* url) {
// send a synchronous message to the browser process
// TODO(sehr): This is asserted to be one. Remove this parameter.
static const int kNumberOfChannelsToBeCreated = 1;
if (!launch_nacl_process ||
- !launch_nacl_process(url, kNumberOfChannelsToBeCreated, &channel_)) {
+ !launch_nacl_process(instance,
+ url,
+ kNumberOfChannelsToBeCreated,
+ &channel_)) {
return false;
}
return true;

Powered by Google App Engine
This is Rietveld 408576698