Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index aad2aac168907df6c9d2db15ca492005438516fe..30b171ba0ae9adfb1553d439d427a95a483b7fc4 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -918,6 +918,20 @@ IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) |
IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, |
std::vector<content::FileChooserFileInfo>) |
+// Updates the renderer about mixed content checks executed in the browser. |
+// |feature| lists all unique IDs for mixed content feature used while checking |
+// for mixed content the associated frame load. |
+// Note: if we ever need to report other non-mixed content features it might be |
+// better move this member into another IPC/struct specific for that. |
+// The |mixed_content_*| members are used to report found mixed content to the |
+// CSP policy. If |mixed_content_was_found| is true the following members will |
+// contain related information. Otherwise they should be ignored. |
+IPC_MESSAGE_ROUTED4(FrameMsg_MixedContentUpdate, |
+ std::set<int>, /* features */ |
+ bool, /* mixed_content_was_found */ |
+ GURL, /* mixed_content_url */ |
+ bool) /* mixed_content_had_redirect */ |
+ |
// ----------------------------------------------------------------------------- |
// Messages sent from the renderer to the browser. |