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

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: Addressed nasko@'s comments. Created 3 years, 10 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 2eea1d145a58b6a5142893199ca0573bac9c406c..59580b89973eee9c8b1d2ef9bd6814c7391214d5 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -40,6 +40,7 @@
#include "content/public/common/page_state.h"
#include "content/public/common/previews_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"
@@ -952,6 +953,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