| Index: Source/core/fetch/ResourceLoaderOptions.h
|
| diff --git a/Source/core/fetch/ResourceLoaderOptions.h b/Source/core/fetch/ResourceLoaderOptions.h
|
| index 187efc3ac96c700ada8fe8b310b3e569ff39bb51..be960d3e79dc646bb404afe9645330e669f9866b 100644
|
| --- a/Source/core/fetch/ResourceLoaderOptions.h
|
| +++ b/Source/core/fetch/ResourceLoaderOptions.h
|
| @@ -90,6 +90,13 @@ enum CredentialRequest {
|
| ClientDidNotRequestCredentials
|
| };
|
|
|
| +enum MixedContentBlockingTreatment {
|
| + TreatAsDefaultForType,
|
| + TreatAsPassiveContent,
|
| + TreatAsActiveContent,
|
| + TreatAsAlwaysAllowedContent
|
| +};
|
| +
|
| struct ResourceLoaderOptions {
|
| ResourceLoaderOptions()
|
| : sendLoadCallbacks(DoNotSendCallbacks)
|
| @@ -102,6 +109,7 @@ struct ResourceLoaderOptions {
|
| , contentSecurityPolicyOption(CheckContentSecurityPolicy)
|
| , requestOriginPolicy(UseDefaultOriginRestrictionsForType)
|
| , requestInitiatorContext(DocumentContext)
|
| + , mixedContentBlockingTreatment(TreatAsDefaultForType)
|
| {
|
| }
|
|
|
| @@ -126,8 +134,10 @@ struct ResourceLoaderOptions {
|
| , contentSecurityPolicyOption(contentSecurityPolicyOption)
|
| , requestOriginPolicy(requestOriginPolicy)
|
| , requestInitiatorContext(requestInitiatorContext)
|
| + , mixedContentBlockingTreatment(TreatAsDefaultForType)
|
| {
|
| }
|
| +
|
| SendCallbackPolicy sendLoadCallbacks;
|
| ContentSniffingPolicy sniffContent;
|
| DataBufferingPolicy dataBufferingPolicy;
|
| @@ -139,6 +149,7 @@ struct ResourceLoaderOptions {
|
| FetchInitiatorInfo initiatorInfo;
|
| RequestOriginPolicy requestOriginPolicy;
|
| RequestInitiatorContext requestInitiatorContext;
|
| + MixedContentBlockingTreatment mixedContentBlockingTreatment;
|
| };
|
|
|
| } // namespace WebCore
|
|
|