Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 01a1e21b075e46a0d37872c6b2c965bbeeb6d8c5..b89fffae4910aa20ab07f4694396bf3a03cab571 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -478,6 +478,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
int plugin_child_id); |
+ // Returns true if the given browser_context and site_url support hosting |
+ // BrowserPlugins. |
+ virtual bool SupportsBrowserPlugin(BrowserContext* browser_context, |
+ const GURL& site_url); |
+ |
// Returns true if renderer processes can use Pepper TCP/UDP sockets from |
// the given origin and connection type. |
virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, |