Chromium Code Reviews| Index: Source/platform/network/ResourceRequest.h |
| diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h |
| index 824ab21759c72adaa25c6ab6d627f6f719723fde..65315d6bd76a4ed8f6d7cac4deb1dad1cf1adee3 100644 |
| --- a/Source/platform/network/ResourceRequest.h |
| +++ b/Source/platform/network/ResourceRequest.h |
| @@ -64,6 +64,12 @@ public: |
| virtual ~ExtraData() { } |
| }; |
| + enum MixedContentStatus { |
|
Mike West
2015/08/17 15:36:45
1. Why not use `MixedContentChecker::ContentType`
estark
2015/08/17 17:20:12
Ah, I didn't realize that blockable/optionally blo
|
| + NotMixedContent, |
| + PassiveMixedContent, |
| + ActiveMixedContent |
| + }; |
| + |
| ResourceRequest() |
| { |
| initialize(KURL()); |
| @@ -233,6 +239,9 @@ public: |
| void setFollowedRedirect(bool followed) { m_followedRedirect = followed; } |
| bool followedRedirect() const { return m_followedRedirect; } |
| + void setMixedContentStatus(MixedContentStatus status) { m_mixedContentStatus = status; } |
| + MixedContentStatus mixedContentStatus() const { return m_mixedContentStatus; } |
| + |
| private: |
| void initialize(const KURL&); |
| @@ -277,6 +286,8 @@ private: |
| static double s_defaultTimeoutInterval; |
| bool m_followedRedirect; |
| + |
| + MixedContentStatus m_mixedContentStatus; |
| }; |
| bool equalIgnoringHeaderFields(const ResourceRequest&, const ResourceRequest&); |
| @@ -322,6 +333,7 @@ public: |
| bool m_originatesFromReservedIPRange; |
| InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
| bool m_followedRedirect; |
| + ResourceRequest::MixedContentStatus m_mixedContentStatus; |
| }; |
| } // namespace blink |