Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index b0acf9a699d62e14e6d17219dc6e563d13aea9be..1e06b979e3371c802d94095cb50122cff7a5176c 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -983,13 +983,17 @@ ContentSettingMixedScriptBubbleModel::ContentSettingMixedScriptBubbleModel( |
} |
void ContentSettingMixedScriptBubbleModel::OnCustomLinkClicked() { |
- content_settings::RecordMixedScriptAction( |
- content_settings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW); |
DCHECK(web_contents()); |
web_contents()->SendToAllFrames( |
new ChromeViewMsg_SetAllowRunningInsecureContent(MSG_ROUTING_NONE, true)); |
web_contents()->GetMainFrame()->Send(new ChromeViewMsg_ReloadFrame( |
web_contents()->GetMainFrame()->GetRoutingID())); |
+ |
+ content_settings::RecordMixedScriptAction( |
+ content_settings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW); |
+ content_settings::RecordMixedScriptActionWithRAPPOR( |
+ content_settings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW, |
+ web_contents()->GetLastCommittedURL()); |
} |
ContentSettingRPHBubbleModel::ContentSettingRPHBubbleModel( |