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

Unified Diff: chrome/common/render_messages.h

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: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 136022)
+++ chrome/common/render_messages.h (working copy)
@@ -26,6 +26,7 @@
#include "chrome/common/translate_errors.h"
#include "content/public/common/common_param_traits.h"
#include "content/public/common/webkit_param_traits.h"
+#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -481,11 +482,14 @@
// A renderer sends this to the browser process when it wants to start
// a new instance of the Native Client process. The browser will launch
// the process and return a handle to an IMC channel.
-IPC_SYNC_MESSAGE_CONTROL2_1(ChromeViewHostMsg_LaunchNaCl,
+IPC_SYNC_MESSAGE_CONTROL2_4(ChromeViewHostMsg_LaunchNaCl,
GURL /* manifest_url */,
int /* socket count */,
std::vector<nacl::FileDescriptor>
- /* imc channel handles */)
+ /* imc channel handles */,
+ IPC::ChannelHandle /* ppapi_channel_handle */,
+ base::ProcessHandle /* NaCl process handle */,
+ base::ProcessId /* NaCl process id */)
// Notification that the page has an OpenSearch description document
// associated with it.

Powered by Google App Engine
This is Rietveld 408576698