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

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

Issue 2625633002: Supporting changes in preparation of browser side mixed content checking. (Closed)
Patch Set: Address code review 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
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | 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 d0a5abc9d1a71af13d059d74f18a060abc84bdd0..faf07feb56ded2ae08027219c39b8290928f9b9d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -71,7 +71,7 @@
#include "platform/weborigin/ReferrerPolicy.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "public/platform/WebCachePolicy.h"
-#include "public/platform/WebMixedContent.h"
+#include "public/platform/WebMixedContentContextType.h"
#include "public/platform/WebURLLoaderClient.h"
#include "public/platform/WebURLRequest.h"
#include "wtf/CurrentTime.h"
@@ -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;
}
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | third_party/WebKit/Source/core/loader/MixedContentChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698