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

Unified Diff: content/common/frame_messages.h

Issue 2745363004: PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Rebase 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
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 9f6c7961b2333e8babe94f7cd768c4d377c0fcd6..d235508bf6fd15ad9f554599a7f1e2fece7ae38b 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -615,6 +615,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.
@@ -1011,12 +1020,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.
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698