Chromium Code Reviews| Index: Source/core/fetch/ResourceLoaderOptions.h |
| diff --git a/Source/core/fetch/ResourceLoaderOptions.h b/Source/core/fetch/ResourceLoaderOptions.h |
| index 187efc3ac96c700ada8fe8b310b3e569ff39bb51..5c50363e1a25f24cbef6bda5eb54b80238919f9c 100644 |
| --- a/Source/core/fetch/ResourceLoaderOptions.h |
| +++ b/Source/core/fetch/ResourceLoaderOptions.h |
| @@ -90,6 +90,11 @@ enum CredentialRequest { |
| ClientDidNotRequestCredentials |
| }; |
| +enum MixedRawContentBlockingOption { |
| + TreatAsPassiveContent, |
| + TreatAsActiveContent |
|
abarth-chromium
2013/08/30 06:37:08
I'd recommend making this a three-state enum. The
|
| +}; |
| + |
| struct ResourceLoaderOptions { |
| ResourceLoaderOptions() |
| : sendLoadCallbacks(DoNotSendCallbacks) |
| @@ -102,6 +107,7 @@ struct ResourceLoaderOptions { |
| , contentSecurityPolicyOption(CheckContentSecurityPolicy) |
| , requestOriginPolicy(UseDefaultOriginRestrictionsForType) |
| , requestInitiatorContext(DocumentContext) |
| + , mixedRawContentBlockingOption(TreatAsPassiveContent) |
| { |
| } |
| @@ -126,6 +132,7 @@ struct ResourceLoaderOptions { |
| , contentSecurityPolicyOption(contentSecurityPolicyOption) |
| , requestOriginPolicy(requestOriginPolicy) |
| , requestInitiatorContext(requestInitiatorContext) |
| + , mixedRawContentBlockingOption(TreatAsPassiveContent) |
| { |
| } |
| SendCallbackPolicy sendLoadCallbacks; |
| @@ -139,6 +146,7 @@ struct ResourceLoaderOptions { |
| FetchInitiatorInfo initiatorInfo; |
| RequestOriginPolicy requestOriginPolicy; |
| RequestInitiatorContext requestInitiatorContext; |
| + MixedRawContentBlockingOption mixedRawContentBlockingOption; |
| }; |
| } // namespace WebCore |