| 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 100909b61f6e301d0f92f39d88e7d9dedfa2f66f..eb9fc4100d81e8d404018b7e8a2cfed2e5db16c9 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.
|
|
|