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

Unified Diff: chrome/browser/plugin_process_host.cc

Issue 196012: This changelist fixes some issues with the NPAPI WMP plugin work in Chrome. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « chrome/browser/plugin_process_host.h ('k') | chrome/browser/plugin_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_process_host.cc
===================================================================
--- chrome/browser/plugin_process_host.cc (revision 25381)
+++ chrome/browser/plugin_process_host.cc (working copy)
@@ -495,7 +495,7 @@
for (size_t i = 0; i < pending_requests_.size(); ++i) {
ReplyToRenderer(pending_requests_[i].renderer_message_filter_.get(),
IPC::ChannelHandle(),
- FilePath(),
+ WebPluginInfo(),
pending_requests_[i].reply_msg);
}
@@ -573,10 +573,9 @@
void PluginProcessHost::ReplyToRenderer(
ResourceMessageFilter* renderer_message_filter,
const IPC::ChannelHandle& channel,
- const FilePath& plugin_path,
+ const WebPluginInfo& info,
IPC::Message* reply_msg) {
- ViewHostMsg_OpenChannelToPlugin::WriteReplyParams(reply_msg, channel,
- plugin_path);
+ ViewHostMsg_OpenChannelToPlugin::WriteReplyParams(reply_msg, channel, info);
renderer_message_filter->Send(reply_msg);
}
@@ -602,7 +601,9 @@
sent_requests_.push(ChannelRequest(
renderer_message_filter, mime_type, reply_msg));
} else {
- ReplyToRenderer(renderer_message_filter, IPC::ChannelHandle(), FilePath(),
+ ReplyToRenderer(renderer_message_filter,
+ IPC::ChannelHandle(),
+ WebPluginInfo(),
reply_msg);
}
}
@@ -613,7 +614,7 @@
ReplyToRenderer(request.renderer_message_filter_.get(),
channel_handle,
- info_.path,
+ info_,
request.reply_msg);
sent_requests_.pop();
}
« no previous file with comments | « chrome/browser/plugin_process_host.h ('k') | chrome/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698