Index: third_party/WebKit/Source/core/fetch/FetchContext.h |
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h |
index 818fef96ec6633237ddeb67de308e493ff3a064a..c12e877d965f79c35d4ffa53b0e5d90f6d1292ef 100644 |
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h |
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h |
@@ -39,6 +39,7 @@ |
#include "platform/heap/Handle.h" |
#include "platform/network/ResourceLoadPriority.h" |
#include "platform/network/ResourceRequest.h" |
+#include "public/platform/WebInsecureRequestPolicy.h" |
#include "wtf/Noncopyable.h" |
namespace blink { |
@@ -174,6 +175,10 @@ class CORE_EXPORT FetchContext |
virtual WebTaskRunner* loadingTaskRunner() const { return nullptr; } |
+ virtual WebInsecureRequestPolicy getInsecureRequestPolicy() const { |
+ return kLeaveInsecureRequestsAlone; |
+ } |
+ |
protected: |
FetchContext() {} |
}; |