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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentInit.cpp

Issue 2040133003: Replace SecurityContext::InsecureRequestsPolicy with WebInsecureRequestPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@combine-uir-block
Patch Set: Ugh. Created 4 years, 6 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: third_party/WebKit/Source/core/dom/DocumentInit.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentInit.cpp b/third_party/WebKit/Source/core/dom/DocumentInit.cpp
index df71028100069e2471b3b152f2cad66d4a932f10..38690c75159f263566915e0de42ed6117ff37686 100644
--- a/third_party/WebKit/Source/core/dom/DocumentInit.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentInit.cpp
@@ -108,16 +108,10 @@ SandboxFlags DocumentInit::getSandboxFlags() const
return flags;
}
-bool DocumentInit::shouldEnforceStrictMixedContentChecking() const
+WebInsecureRequestPolicy DocumentInit::getInsecureRequestPolicy() const
{
DCHECK(frameForSecurityContext());
- return frameForSecurityContext()->loader().shouldEnforceStrictMixedContentChecking();
-}
-
-SecurityContext::InsecureRequestsPolicy DocumentInit::getInsecureRequestsPolicy() const
-{
- DCHECK(frameForSecurityContext());
- return frameForSecurityContext()->loader().getInsecureRequestsPolicy();
+ return frameForSecurityContext()->loader().getInsecureRequestPolicy();
}
SecurityContext::InsecureNavigationsSet* DocumentInit::insecureNavigationsToUpgrade() const
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentInit.h ('k') | third_party/WebKit/Source/core/dom/SecurityContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698