summaryrefslogtreecommitdiffstats
path: root/content/public/browser/content_browser_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/content_browser_client.h')
-rw-r--r--content/public/browser/content_browser_client.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 100909b..eb9fc41 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -509,10 +509,13 @@ class CONTENT_EXPORT ContentBrowserClient {
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.
+ // Returns true if the socket operation specified by |params| is allowed
+ // from the given |browser_context| and |url|. |private_api| indicates whether
+ // this permission check is for the private Pepper socket API or the public
+ // one.
virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
const GURL& url,
+ bool private_api,
const SocketPermissionRequest& params);
// Returns the directory containing hyphenation dictionaries.