| Index: chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
|
| diff --git a/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h b/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
|
| index 80eb5b8067fb0bc080bc4708404bb780d8a72064..47cc1488ff774a2e263dfbcdd12097a17a685a32 100644
|
| --- a/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
|
| +++ b/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "chrome/browser/chrome_content_browser_client_parts.h"
|
| +#include "content/public/common/socket_permission_request.h"
|
|
|
| namespace content {
|
| class ResourceContext;
|
| @@ -54,6 +55,23 @@ class ChromeContentBrowserClientExtensionsPart
|
| // Helper function to call InfoMap::SetSigninProcess().
|
| static void SetSigninProcess(content::SiteInstance* site_instance);
|
|
|
| + static bool IsPluginAllowedToCallRequestOSFileHandle(
|
| + content::BrowserContext* browser_context,
|
| + const GURL& url,
|
| + const std::set<std::string>& allowed_file_handle_origins);
|
| +
|
| + static bool AllowPepperSocketAPI(
|
| + content::BrowserContext* browser_context,
|
| + const GURL& url,
|
| + bool private_api,
|
| + const content::SocketPermissionRequest* params,
|
| + const std::set<std::string>& whitelist);
|
| +
|
| + static bool IsPluginAllowedToUseDevChannelAPIs(
|
| + content::BrowserContext* browser_context,
|
| + const GURL& url,
|
| + const std::set<std::string>& allowed_dev_channel_origins);
|
| +
|
| private:
|
| // ChromeContentBrowserClientParts:
|
| virtual void RenderProcessWillLaunch(
|
|
|