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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.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, 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: chrome/browser/nacl_host/nacl_process_host.h
===================================================================
--- chrome/browser/nacl_host/nacl_process_host.h (revision 143375)
+++ chrome/browser/nacl_host/nacl_process_host.h (working copy)
@@ -17,6 +17,7 @@
#include "chrome/common/nacl_types.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "googleurl/src/gurl.h"
+#include "ipc/ipc_channel_handle.h"
class ChromeRenderMessageFilter;
class CommandLine;
@@ -86,7 +87,7 @@
// Sends the reply message to the renderer who is waiting for the plugin
// to load. Returns true on success.
- bool ReplyToRenderer();
+ bool ReplyToRenderer(const IPC::ChannelHandle& channel_handle);
// Sends the message to the NaCl process to load the plugin. Returns true
// on success.
@@ -113,6 +114,8 @@
IPC::Message* reply_msg);
#endif
+ void OnPpapiChannelCreated(const IPC::ChannelHandle& channel_handle);
+
GURL manifest_url_;
#if defined(OS_WIN)
@@ -152,6 +155,8 @@
bool off_the_record_;
+ bool enable_ipc_proxy_;
+
DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
};
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | chrome/browser/nacl_host/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698