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

Unified Diff: content/common/frame_messages.h

Issue 2745363004: PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Created 3 years, 9 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 404ce37105888918a47715037125b59096e48956..dade2a58dce69a85e060eb5fa9c74f1614e608d0 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -600,6 +600,15 @@ IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams)
IPC_STRUCT_TRAITS_MEMBER(requestor)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_BEGIN(FrameMsg_MixedContentFound_Params)
+ IPC_STRUCT_MEMBER(GURL, main_resource_url)
+ IPC_STRUCT_MEMBER(GURL, mixed_content_url)
+ IPC_STRUCT_MEMBER(content::RequestContextType, request_context_type)
+ IPC_STRUCT_MEMBER(bool, was_allowed)
+ IPC_STRUCT_MEMBER(bool, had_redirect)
+ IPC_STRUCT_MEMBER(content::SourceLocation, source_location)
+IPC_STRUCT_END()
+
#if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
// This message is used for supporting popup menus on Mac OS X and Android using
// native controls. See the FrameHostMsg_ShowPopup message.
@@ -990,12 +999,8 @@ IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport,
// Informs the renderer that mixed content was found by the browser. The
// included data is used for instance to report to the CSP policy and to log to
// the frame console.
-IPC_MESSAGE_ROUTED5(FrameMsg_MixedContentFound,
- GURL, /* main_resource_url */
- GURL, /* mixed_content_url */
- content::RequestContextType, /* request_context_type */
- bool, /* was_allowed */
- bool) /* had_redirect */
+IPC_MESSAGE_ROUTED1(FrameMsg_MixedContentFound,
+ FrameMsg_MixedContentFound_Params)
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698