Chromium Code Reviews| 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) |
|
nasko
2017/01/10 17:11:36
Why not use a "last" type value? If someone adds a
carlosk
2017/01/10 21:46:17
Done.
|
| + |
| 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) |