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

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

Issue 2050553003: Moves Blink mixed content enums and helper methods to public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor updates. Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/MixedContentChecker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/MixedContentChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698