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

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: Address jam@ comments; many minor code and comment updates. Created 3 years, 11 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 cc85b72bc625c42a62289dde958744a21505d589..e54474a035a86cacfc0f24d95b03ecf00dc1912d 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -38,6 +38,7 @@
#include "content/public/common/page_importance_signals.h"
#include "content/public/common/page_state.h"
#include "content/public/common/referrer.h"
+#include "content/public/common/request_context_type.h"
#include "content/public/common/resource_response.h"
#include "content/public/common/stop_find_action.h"
#include "content/public/common/three_d_api_types.h"
@@ -933,6 +934,22 @@ IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
std::vector<content::FileChooserFileInfo>)
+// Updates the renderer with a list of unique blink::UseCounter::Feature values
+// representing Blink features used, performed or encountered by the browser
+// during the current page load happening on the frame.
+IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport,
+ std::set<int>) /* features */
+
+// 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 */
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698