diff options
Diffstat (limited to 'chromium/content/public/browser/content_browser_client.h')
-rw-r--r-- | chromium/content/public/browser/content_browser_client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/content/public/browser/content_browser_client.h b/chromium/content/public/browser/content_browser_client.h index 856fb806707..61c108c53b9 100644 --- a/chromium/content/public/browser/content_browser_client.h +++ b/chromium/content/public/browser/content_browser_client.h @@ -239,6 +239,13 @@ class CONTENT_EXPORT ContentBrowserClient { virtual bool ShouldLockToOrigin(BrowserContext* browser_context, const GURL& effective_url); + // Returns true if the |initiator| origin should be allowed to receive a + // document at |url|, bypassing the usual blocking logic. Defaults to false. + // This is called on the IO thread. + virtual bool ShouldBypassDocumentBlocking(const url::Origin& initiator, + const GURL& url, + ResourceType resource_type); + // Returns a list additional WebUI schemes, if any. These additional schemes // act as aliases to the chrome: scheme. The additional schemes may or may // not serve specific WebUI pages depending on the particular URLDataSource |