diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 01:55:13 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 01:55:13 +0000 |
commit | 4566f13fe843c0821dbce19d7ea5e8aece8afe4a (patch) | |
tree | 586c6006431604f6b159daca30fcdfe4913ad996 /chrome/plugin/plugin_channel.h | |
parent | 3f366001f70b1ef4b8884796970cefb0769c469f (diff) | |
download | chromium_src-4566f13fe843c0821dbce19d7ea5e8aece8afe4a.zip chromium_src-4566f13fe843c0821dbce19d7ea5e8aece8afe4a.tar.gz chromium_src-4566f13fe843c0821dbce19d7ea5e8aece8afe4a.tar.bz2 |
Stop having renderers use both pids and a monotonically increasing "host_id". This allows ResourceDispatcher to be used by child processes other than renderers. I've done minor related cleanup on the way to make the code simpler.
Review URL: http://codereview.chromium.org/42054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_channel.h')
-rw-r--r-- | chrome/plugin/plugin_channel.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/plugin/plugin_channel.h b/chrome/plugin/plugin_channel.h index 4802a6e..22ebbfa 100644 --- a/chrome/plugin/plugin_channel.h +++ b/chrome/plugin/plugin_channel.h @@ -14,10 +14,7 @@ // process. On the renderer side there's a corresponding PluginChannelHost. class PluginChannel : public PluginChannelBase { public: - // renderer_handle is the the handle to the renderer process requesting the - // channel. The handle has to be valid in the context of the plugin process. - static PluginChannel* GetPluginChannel( - int process_id, HANDLE renderer_handle, MessageLoop* ipc_message_loop); + static PluginChannel* GetPluginChannel(MessageLoop* ipc_message_loop); ~PluginChannel(); @@ -31,6 +28,7 @@ class PluginChannel : public PluginChannelBase { protected: // IPC::Channel::Listener implementation: + virtual void OnChannelConnected(int32 peer_pid); virtual void OnChannelError(); virtual void CleanUp(); |