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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.cc

Issue 1550233002: Move mixed content settings histograms into browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fix Created 4 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/browser/frame_host/render_frame_proxy_host.cc
diff --git a/content/browser/frame_host/render_frame_proxy_host.cc b/content/browser/frame_host/render_frame_proxy_host.cc
index 49bcfc9093a7b05aacb769e20374a84c02cd980d..eb70e740b24477aacd1d03dae3d126ae7e28922e 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -150,6 +150,10 @@ bool RenderFrameProxyHost::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeOpener, OnDidChangeOpener)
IPC_MESSAGE_HANDLER(FrameHostMsg_AdvanceFocus, OnAdvanceFocus)
IPC_MESSAGE_HANDLER(FrameHostMsg_FrameFocused, OnFrameFocused)
+ IPC_MESSAGE_HANDLER(FrameHostMsg_TriedDisplayingInsecureContent,
+ OnTriedDisplayingInsecureContent)
+ IPC_MESSAGE_HANDLER(FrameHostMsg_TriedRunningInsecureContent,
+ OnTriedRunningInsecureContent)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -359,4 +363,16 @@ void RenderFrameProxyHost::OnFrameFocused() {
GetSiteInstance());
}
+void RenderFrameProxyHost::OnTriedDisplayingInsecureContent(const GURL& origin,
+ const GURL& url) {
+ frame_tree_node_->current_frame_host()->OnTriedDisplayingInsecureContent(
alexmos 2016/01/09 01:39:02 Instead of referencing IPC handlers directly and m
+ origin, url);
+}
+
+void RenderFrameProxyHost::OnTriedRunningInsecureContent(const GURL& origin,
+ const GURL& url) {
+ frame_tree_node_->current_frame_host()->OnTriedRunningInsecureContent(origin,
+ url);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698