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 a861b70b5ee7fe4ef5234834c4cf9752c5a965d5..37900af43572c584c3902134f050e8def7678308 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -11,6 +11,7 @@ |
#include "base/callback_forward.h" |
#include "content/public/browser/file_descriptor_info.h" |
+#include "content/public/browser/socket_permission_request.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/window_container_type.h" |
#include "net/cookies/canonical_cookie.h" |
@@ -442,9 +443,10 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual void DidCreatePpapiPlugin(BrowserPpapiHost* browser_host) {} |
// Returns true if renderer processes can use Pepper TCP/UDP sockets from |
- // the given origin. |
+ // the given origin and connection type. |
virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, |
- const GURL& url); |
+ const GURL& url, |
+ const SocketPermissionRequest& params); |
// Returns true if renderer processes can use private Pepper File APIs. |
virtual bool AllowPepperPrivateFileAPI(); |