Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Addressed all jam@ latest comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d0a5abc9d1a71af13d059d74f18a060abc84bdd0..a2d5ba596366929a413d5e31a87b1096a0c8b60d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -211,15 +211,14 @@ KURL urlWithoutFragment(const KURL& url) {
return result;
}
-String mixedContentTypeForContextType(
- WebMixedContent::ContextType contextType) {
+String mixedContentTypeForContextType(WebMixedContentContextType contextType) {
switch (contextType) {
- case WebMixedContent::ContextType::NotMixedContent:
+ case WebMixedContentContextType::NotMixedContent:
return protocol::Network::Request::MixedContentTypeEnum::None;
- case WebMixedContent::ContextType::Blockable:
+ case WebMixedContentContextType::Blockable:
return protocol::Network::Request::MixedContentTypeEnum::Blockable;
- case WebMixedContent::ContextType::OptionallyBlockable:
- case WebMixedContent::ContextType::ShouldBeBlockable:
+ case WebMixedContentContextType::OptionallyBlockable:
+ case WebMixedContentContextType::ShouldBeBlockable:
return protocol::Network::Request::MixedContentTypeEnum::
OptionallyBlockable;
}

Powered by Google App Engine
This is Rietveld 408576698