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

Unified Diff: chrome/browser/plugins/chrome_plugin_service_filter.h

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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
Index: chrome/browser/plugins/chrome_plugin_service_filter.h
===================================================================
--- chrome/browser/plugins/chrome_plugin_service_filter.h (revision 238847)
+++ chrome/browser/plugins/chrome_plugin_service_filter.h (working copy)
@@ -37,10 +37,10 @@
// Overrides the plugin lookup mechanism for a given tab and object URL to use
// a specifc plugin.
- void OverridePluginForTab(int render_process_id,
- int render_view_id,
- const GURL& url,
- const content::WebPluginInfo& plugin);
+ void OverridePluginForFrame(int render_process_id,
+ int render_frame_id,
+ const GURL& url,
+ const content::WebPluginInfo& plugin);
// Restricts the given plugin to the given profile and origin of the given
// URL.
@@ -64,7 +64,7 @@
// PluginServiceFilter implementation:
virtual bool IsPluginAvailable(
int render_process_id,
- int render_view_id,
+ int render_frame_id,
const void* context,
const GURL& url,
const GURL& policy_url,
@@ -83,8 +83,8 @@
OverriddenPlugin();
~OverriddenPlugin();
- int render_view_id;
- GURL url; // If empty, the override applies to all urls in render_view.
+ int render_frame_id;
+ GURL url; // If empty, the override applies to all urls in render_frame.
content::WebPluginInfo plugin;
};
« no previous file with comments | « chrome/browser/extensions/extension_renderer_state.cc ('k') | chrome/browser/plugins/chrome_plugin_service_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698