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

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, 6 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 143375)
+++ ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc (working copy)
@@ -11,10 +11,12 @@
namespace plugin {
bool SelLdrLauncherChrome::Start(const char* url) {
- return Start(0, url);
+ return Start(0, url, NULL);
}
-bool SelLdrLauncherChrome::Start(PP_Instance instance, const char* url) {
+bool SelLdrLauncherChrome::Start(PP_Instance instance,
+ const char* url,
+ void** ipc_channel_handle) {
// send a synchronous message to the browser process
// TODO(sehr): This is asserted to be one. Remove this parameter.
static const int kNumberOfChannelsToBeCreated = 1;
@@ -22,7 +24,8 @@
!launch_nacl_process(instance,
url,
kNumberOfChannelsToBeCreated,
- &channel_)) {
+ &channel_,
+ ipc_channel_handle)) {
return false;
}
return true;

Powered by Google App Engine
This is Rietveld 408576698