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

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

Issue 12114045: Broke ContentSettingBubbleModelTest.Plugins on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/plugin_service_impl_browsertest.cc ('k') | content/public/browser/plugin_service_filter.h » ('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 180109)
+++ content/browser/renderer_host/render_message_filter.cc (working copy)
@@ -657,7 +657,7 @@
for (size_t i = 0; i < all_plugins.size(); ++i) {
// Copy because the filter can mutate.
webkit::WebPluginInfo plugin(all_plugins[i]);
- if (!filter || filter->IsPluginEnabled(child_process_id,
+ if (!filter || filter->ShouldUsePlugin(child_process_id,
routing_id,
resource_context_,
GURL(),
@@ -704,10 +704,8 @@
const FilePath& path,
IPC::Message* reply_msg) {
plugin_service_->OpenChannelToPpapiPlugin(
- render_process_id_,
- path,
- profile_data_directory_,
- new OpenChannelToPpapiPluginCallback(this, resource_context_, reply_msg));
+ path, profile_data_directory_, new OpenChannelToPpapiPluginCallback(
+ this, resource_context_, reply_msg));
}
void RenderMessageFilter::OnDidCreateOutOfProcessPepperInstance(
@@ -757,9 +755,7 @@
int request_id,
const FilePath& path) {
plugin_service_->OpenChannelToPpapiBroker(
- render_process_id_,
- path,
- new OpenChannelToPpapiBrokerCallback(this, routing_id, request_id));
+ path, new OpenChannelToPpapiBrokerCallback(this, routing_id, request_id));
}
void RenderMessageFilter::OnGenerateRoutingID(int* route_id) {
« no previous file with comments | « content/browser/plugin_service_impl_browsertest.cc ('k') | content/public/browser/plugin_service_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698