Chromium Code Reviews| 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 18976390c16b3ae327bedc94cea83011874450a0..f91855cac18e3519f81fc4f588d3290d291b186e 100644 |
| --- a/content/public/browser/content_browser_client.h |
| +++ b/content/public/browser/content_browser_client.h |
| @@ -762,6 +762,16 @@ class CONTENT_EXPORT ContentBrowserClient { |
| // protected content. |
| virtual std::unique_ptr<media::CdmFactory> CreateCdmFactory(); |
| + // Reports that passive mixed content was found at the specified WebContents. |
| + virtual void PassiveInsecureContentFound(const GURL& resource_url); |
| + |
| + // Checks if running of mixed-content is allowed for the specified |
| + // WebContents/tab. |
| + virtual bool ShouldAllowRunningInsecureContent(bool allowed_per_settings, |
|
jam
2017/01/09 21:15:46
this method should be on WebContentsDelegate. Cont
carlosk
2017/01/10 19:13:11
Understood and thanks for this explanation.
But n
jam
2017/01/10 19:28:37
right. browser is the one that's currently adding
carlosk
2017/01/10 20:03:59
There is logic that is specific to layout tests th
carlosk
2017/01/11 03:32:21
Done.
|
| + const url::Origin& origin, |
| + const GURL& resource_url, |
| + WebContents* web_contents); |
| + |
| // Populates |mappings| with all files that need to be mapped before launching |
| // a child process. |
| #if defined(OS_ANDROID) |