summaryrefslogtreecommitdiffstats
path: root/src/core/content_browser_client_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-12-03 13:08:47 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-12-03 14:41:08 +0100
commit55ba42566069d271af75545bc7175cfe5dc95904 (patch)
treeb4c0b9f31376899f950be8116a3ee5dee5446f62 /src/core/content_browser_client_qt.h
parente5d1ae64fd61d41cf8f26de81cf75e8050f8ecbb (diff)
Fix extensions after IsHandledURL() was implemented
With IsHandledURL() implemented extensions were blocked from loading resources, becauset their rights were not correctly granted by the extension webcontents observer, which failed beause we were using process-per-site instead of site-per-process. Change-Id: Iee9b97fda39b4307a9cb4f63f11cbdef0bcc2660 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r--src/core/content_browser_client_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h
index 5d8a1519c..55514afac 100644
--- a/src/core/content_browser_client_qt.h
+++ b/src/core/content_browser_client_qt.h
@@ -177,6 +177,8 @@ public:
#endif
bool ShouldIsolateErrorPage(bool in_main_frame) override;
bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, const GURL& effective_url) override;
+ bool DoesSiteRequireDedicatedProcess(content::BrowserOrResourceContext browser_or_resource_contexts,
+ const GURL &effective_site_url) override;
#if defined(Q_OS_LINUX)
void GetAdditionalMappedFilesForChildProcess(const base::CommandLine& command_line, int child_process_id, content::PosixFileDescriptorInfo* mappings) override;