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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/nacl_process_host.h
===================================================================
--- chrome/browser/nacl_host/nacl_process_host.h (revision 166155)
+++ chrome/browser/nacl_host/nacl_process_host.h (working copy)
@@ -15,6 +15,7 @@
#include "base/process.h"
#include "chrome/common/nacl_types.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
+#include "content/public/browser/browser_child_process_host_iterator.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel_handle.h"
#include "net/base/tcp_listen_socket.h"
@@ -26,6 +27,7 @@
namespace content {
class BrowserChildProcessHost;
+class BrowserPpapiHost;
}
namespace IPC {
@@ -70,6 +72,9 @@
bool Send(IPC::Message* msg);
+ content::BrowserChildProcessHost* process() { return process_.get(); }
+ content::BrowserPpapiHost* browser_ppapi_host() { return ppapi_host_.get(); }
+
private:
friend class PluginListener;
@@ -198,6 +203,8 @@
scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_;
// Plugin listener, to forward browser channel messages to us.
PluginListener ipc_plugin_listener_;
+ // Browser host for plugin process.
+ scoped_ptr<content::BrowserPpapiHost> ppapi_host_;
int render_view_id_;
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698