summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/host_dispatcher.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-13 17:50:20 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-13 17:50:20 +0000
commita08ebeaea39acfe007d9ee9b25b28efd04011e5a (patch)
treec878b32554af650294155ab21491dc086cff0939 /ppapi/proxy/host_dispatcher.h
parent9d7557f78d893c56afcf65f2e6317feabb9af796 (diff)
downloadchromium_src-a08ebeaea39acfe007d9ee9b25b28efd04011e5a.zip
chromium_src-a08ebeaea39acfe007d9ee9b25b28efd04011e5a.tar.gz
chromium_src-a08ebeaea39acfe007d9ee9b25b28efd04011e5a.tar.bz2
Share PPAPI out-of-process plugins between renderer processes.
This provides the hook-up for plugin sharing but not shutdown or cleanup from errors. There is still a lot of work to do cleaning up in the plugin and the browser when a renderer dies, or cleaning up in the renderer and browser when a plugin dies. Currently, even the normal exit case crashes in the browser. But fixing it in this patch would be too complicated to write or review, so I'm going to do shutdown & error handling in a followup. Review URL: http://codereview.chromium.org/6486034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/host_dispatcher.h')
-rw-r--r--ppapi/proxy/host_dispatcher.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ppapi/proxy/host_dispatcher.h b/ppapi/proxy/host_dispatcher.h
index f405f71..e38fca6 100644
--- a/ppapi/proxy/host_dispatcher.h
+++ b/ppapi/proxy/host_dispatcher.h
@@ -48,15 +48,12 @@ class HostDispatcher : public Dispatcher {
HostDispatcher* dispatcher);
static void RemoveForInstance(PP_Instance instance);
- // Calls the plugin's PPP_InitializeModule function and returns true if
- // the call succeeded.
- bool InitializeModule();
-
// Dispatcher overrides.
virtual bool IsPlugin() const;
// IPC::Channel::Listener.
virtual bool OnMessageReceived(const IPC::Message& msg);
+ virtual void OnChannelError();
// Proxied version of calling GetInterface on the plugin. This will check
// if the plugin supports the given interface (with caching) and returns the