| Index: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| index 1c42354aef35490eb6a4584312f9b79fca473e6a..51838f3c53f1e1302069e731e27d8bfed7f343e5 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| @@ -39,6 +39,7 @@
|
| #include "platform/loader/fetch/Resource.h"
|
| #include "platform/network/ResourceLoadPriority.h"
|
| #include "platform/network/ResourceRequest.h"
|
| +#include "public/platform/WebInsecureRequestPolicy.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/Noncopyable.h"
|
|
|
| @@ -187,6 +188,10 @@ class PLATFORM_EXPORT FetchContext
|
|
|
| virtual RefPtr<WebTaskRunner> loadingTaskRunner() const { return nullptr; }
|
|
|
| + virtual WebInsecureRequestPolicy getInsecureRequestPolicy() const {
|
| + return kLeaveInsecureRequestsAlone;
|
| + }
|
| +
|
| protected:
|
| FetchContext() {}
|
| };
|
|
|