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

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

Issue 978323002: Upgrade insecure requests: Pipe navigational hosts down into nested documents. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/dom/DocumentInit.h ('k') | Source/core/dom/SecurityContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentInit.cpp
diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp
index 25c274d5dcd2037c2f2f51660aa361949f187868..f4bd7480bf496c44eae0931f929ab769b74fbe54 100644
--- a/Source/core/dom/DocumentInit.cpp
+++ b/Source/core/dom/DocumentInit.cpp
@@ -131,6 +131,12 @@ SecurityContext::InsecureRequestsPolicy DocumentInit::insecureRequestsPolicy() c
return frameForSecurityContext()->loader().insecureRequestsPolicy();
}
+SecurityContext::InsecureNavigationsSet* DocumentInit::insecureNavigationsToUpgrade() const
+{
+ ASSERT(frameForSecurityContext());
+ return frameForSecurityContext()->loader().insecureNavigationsToUpgrade();
+}
+
bool DocumentInit::isHostedInReservedIPRange() const
{
if (LocalFrame* frame = frameForSecurityContext()) {
« no previous file with comments | « Source/core/dom/DocumentInit.h ('k') | Source/core/dom/SecurityContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698