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

Unified Diff: content/common/resource_messages.h

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/common/navigation_params.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index e806755dcc6f56878b8a0dc2406c37c000844ece..31d4ebdb7db5efd378b8ab9874d567018fb9ad9d 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::Last)
+
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)
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698