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

Unified Diff: content/child/web_url_request_util.h

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: MixedContent::ContextType comes from the renderer; lessen Blink public code; fixed build. 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: content/child/web_url_request_util.h
diff --git a/content/child/web_url_request_util.h b/content/child/web_url_request_util.h
index 6763af8b9db405a00c7f312d386a6850fb99343d..3d61f8c011359d92f4c4a1f7bbf85b5abb3c63f8 100644
--- a/content/child/web_url_request_util.h
+++ b/content/child/web_url_request_util.h
@@ -13,6 +13,7 @@
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
#include "content/public/common/resource_type.h"
+#include "third_party/WebKit/public/platform/WebMixedContent.h"
namespace blink {
class WebHTTPBody;
@@ -56,6 +57,8 @@ RequestContextFrameType GetRequestContextFrameTypeForWebURLRequest(
const blink::WebURLRequest& request);
RequestContextType GetRequestContextTypeForWebURLRequest(
const blink::WebURLRequest& request);
+blink::WebMixedContent::ContextType GetMixedContentContextTypeForWebURLRequest(
+ const blink::WebURLRequest& request);
SkipServiceWorker GetSkipServiceWorkerForWebURLRequest(
const blink::WebURLRequest& request);

Powered by Google App Engine
This is Rietveld 408576698