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

Unified Diff: content/common/frame_messages.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Rebase after 3 spin off CLs landed. Created 4 years 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 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.

Powered by Google App Engine
This is Rietveld 408576698