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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.cc
===================================================================
--- content/browser/renderer_host/render_message_filter.cc (revision 136613)
+++ content/browser/renderer_host/render_message_filter.cc (working copy)
@@ -130,11 +130,10 @@
*renderer_id = filter()->render_process_id();
}
- virtual void OnPpapiChannelOpened(base::ProcessHandle plugin_process_handle,
- const IPC::ChannelHandle& channel_handle,
+ virtual void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
int plugin_child_id) {
ViewHostMsg_OpenChannelToPepperPlugin::WriteReplyParams(
- reply_msg(), plugin_process_handle, channel_handle, plugin_child_id);
+ reply_msg(), channel_handle, plugin_child_id);
SendReplyAndDeleteThis();
}
@@ -169,12 +168,10 @@
*renderer_id = filter_->render_process_id();
}
- virtual void OnPpapiChannelOpened(base::ProcessHandle broker_process_handle,
- const IPC::ChannelHandle& channel_handle,
+ virtual void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
int /* plugin_child_id */) {
filter_->Send(new ViewMsg_PpapiBrokerChannelCreated(routing_id_,
request_id_,
- broker_process_handle,
channel_handle));
delete this;
}
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698