Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index fd5f4aac9a0294e8c36e036e00194653aa558fbd..f50d82b419895434183a5e98edf1705cd35085fe 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -49,9 +49,16 @@ namespace ui { |
class Clipboard; |
} |
+namespace webkit { |
+namespace npapi { |
+struct WebPluginInfo; |
+} |
+} |
+ |
namespace content { |
class BrowserContext; |
+class PluginFilter; |
class ResourceContext; |
class WebUIFactory; |
@@ -148,6 +155,15 @@ class ContentBrowserClient { |
virtual bool AllowSaveLocalState( |
const content::ResourceContext& context) = 0; |
+ // Creates a new PluginFilter. |
+ // This is called on the IO thread. |
+ virtual content::PluginFilter* CreatePluginFilter( |
+ int render_process_id, |
+ int render_view_id, |
+ const content::ResourceContext& resource_context, |
+ const GURL& url, |
+ const GURL& policy_url) = 0; |
+ |
// Allows the embedder to override the request context based on the URL for |
// certain operations, like cookie access. Returns NULL to indicate the |
// regular request context should be used. |