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 07a05aaf62beab8ac863d64937760cea9972c957..189339e8e5e038a0a5ecd4ea0588a9ec94320a13 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/common/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" |
@@ -441,9 +442,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(); |