Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
index 02cb84c138654f43871d03ae88a6befa808138b9..350c8d689be7221c678337fbdfe3e1fe2cacc624 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
@@ -69,6 +69,7 @@ |
#include "platform/network/WebSocketHandshakeResponse.h" |
#include "platform/weborigin/KURL.h" |
#include "public/platform/WebCachePolicy.h" |
+#include "public/platform/WebMixedContent.h" |
#include "public/platform/WebURLRequest.h" |
#include "wtf/CurrentTime.h" |
#include "wtf/RefPtr.h" |
@@ -193,15 +194,15 @@ KURL urlWithoutFragment(const KURL& url) |
return result; |
} |
-String mixedContentTypeForContextType(MixedContentChecker::ContextType contextType) |
+String mixedContentTypeForContextType(WebMixedContent::ContextType contextType) |
{ |
switch (contextType) { |
- case MixedContentChecker::ContextTypeNotMixedContent: |
+ case WebMixedContent::ContextType::NotMixedContent: |
return protocol::Network::Request::MixedContentTypeEnum::None; |
- case MixedContentChecker::ContextTypeBlockable: |
+ case WebMixedContent::ContextType::Blockable: |
return protocol::Network::Request::MixedContentTypeEnum::Blockable; |
- case MixedContentChecker::ContextTypeOptionallyBlockable: |
- case MixedContentChecker::ContextTypeShouldBeBlockable: |
+ case WebMixedContent::ContextType::OptionallyBlockable: |
+ case WebMixedContent::ContextType::ShouldBeBlockable: |
return protocol::Network::Request::MixedContentTypeEnum::OptionallyBlockable; |
} |