summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/plugin_channel.h')
-rw-r--r--chrome/plugin/plugin_channel.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/plugin/plugin_channel.h b/chrome/plugin/plugin_channel.h
index f0bba80..21373fb 100644
--- a/chrome/plugin/plugin_channel.h
+++ b/chrome/plugin/plugin_channel.h
@@ -15,8 +15,12 @@
// process. On the renderer side there's a corresponding PluginChannelHost.
class PluginChannel : public PluginChannelBase {
public:
- static PluginChannel* GetPluginChannel(
- int process_id, MessageLoop* ipc_message_loop);
+ // Get a new PluginChannel object for the current process.
+ // POSIX only: If |channel_fd| > 0, use that file descriptor for the
+ // channel socket.
+ static PluginChannel* GetPluginChannel(int process_id,
+ MessageLoop* ipc_message_loop,
+ int channel_fd);
~PluginChannel();