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

Unified Diff: content/common/resource_messages.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: 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: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index e806755dcc6f56878b8a0dc2406c37c000844ece..905dcdb19eb7be3cd7891a30d0db370a2c94ba43 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -27,6 +27,7 @@
#include "net/http/http_response_info.h"
#include "net/nqe/effective_connection_type.h"
#include "net/url_request/redirect_info.h"
+#include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
#ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
#define CONTENT_COMMON_RESOURCE_MESSAGES_H_
@@ -135,6 +136,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(content::SkipServiceWorker,
IPC_ENUM_TRAITS_MAX_VALUE(net::EffectiveConnectionType,
net::EFFECTIVE_CONNECTION_TYPE_LAST - 1)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType,
+ blink::WebMixedContentContextType::ShouldBeBlockable)
+
IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead)
IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo)
IPC_STRUCT_TRAITS_MEMBER(request_start)
@@ -230,6 +234,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequest)
IPC_STRUCT_TRAITS_MEMBER(fetch_credentials_mode)
IPC_STRUCT_TRAITS_MEMBER(fetch_redirect_mode)
IPC_STRUCT_TRAITS_MEMBER(fetch_request_context_type)
+ IPC_STRUCT_TRAITS_MEMBER(fetch_mixed_content_context_type)
IPC_STRUCT_TRAITS_MEMBER(fetch_frame_type)
IPC_STRUCT_TRAITS_MEMBER(request_body)
IPC_STRUCT_TRAITS_MEMBER(download_to_file)

Powered by Google App Engine
This is Rietveld 408576698