Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Overall code cleanup to request reviewers to PTAL. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/layout_test/layout_test_content_browser_client.h
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.h b/content/shell/browser/layout_test/layout_test_content_browser_client.h
index f1d5a41a4c2fd8fa0a12533ce38b0f26e5713dee..3091d0b33a5b01d50615994e29e5884a023ba758 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.h
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.h
@@ -34,8 +34,16 @@ class LayoutTestContentBrowserClient : public ShellContentBrowserClient {
int child_process_id) override;
BrowserMainParts* CreateBrowserMainParts(
const MainFunctionParams& parameters) override;
-
PlatformNotificationService* GetPlatformNotificationService() override;
+ bool ShouldAllowDisplayingInsecureContent(
+ bool allowed_per_settings,
+ const GURL& resource_url,
+ content::WebContents* web_contents) override;
+ bool ShouldAllowRunningInsecureContent(
+ bool allowed_per_settings,
+ const url::Origin& origin,
+ const GURL& resource_url,
+ content::WebContents* web_contents) override;
private:
std::unique_ptr<LayoutTestNotificationManager>

Powered by Google App Engine
This is Rietveld 408576698