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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1162123002: Using render IPC to record RAPPOR metric ContentSettings.MixedScript.RanMixedScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | tools/metrics/rappor/rappor.xml » ('j') | tools/metrics/rappor/rappor.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 8ca36dc7a71cf2fca44cfd47dc25340a0c983a5e..74ea28de68d441309325c89d0f18b161fef78a0a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3398,6 +3398,9 @@ void RenderFrameImpl::didRunInsecureContent(
render_view_->GetRoutingID(),
origin.toString().utf8(),
target));
+ GetContentClient()->renderer()->RecordRapporURL(
+ "ContentSettings.MixedScript.RanMixedScript",
+ GURL(origin.toString().utf8()));
}
void RenderFrameImpl::didAbortLoading(blink::WebLocalFrame* frame) {
« no previous file with comments | « no previous file | tools/metrics/rappor/rappor.xml » ('j') | tools/metrics/rappor/rappor.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698