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 5ae6f1b53d2ab804d02f695b7f6e126b102c66e7..e0de7cc547e9712d381c09c0d207c0ddb604e2d2 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -964,11 +964,14 @@ ContentSettingMixedScriptBubbleModel::ContentSettingMixedScriptBubbleModel( |
: ContentSettingTitleLinkAndCustomModel( |
delegate, web_contents, profile, content_type) { |
DCHECK_EQ(content_type, CONTENT_SETTINGS_TYPE_MIXEDSCRIPT); |
+ TabSpecificContentSettings::RecordMixedScriptAction( |
+ TabSpecificContentSettings::MIXEDSCRIPT_DISPLAYED_BUBBLE); |
set_custom_link_enabled(true); |
} |
void ContentSettingMixedScriptBubbleModel::OnCustomLinkClicked() { |
- content::RecordAction(UserMetricsAction("MixedScript_LoadAnyway_Bubble")); |
+ TabSpecificContentSettings::RecordMixedScriptAction( |
+ TabSpecificContentSettings::MIXEDSCRIPT_CLICKED_ALLOW); |
DCHECK(web_contents()); |
web_contents()->SendToAllFrames( |
new ChromeViewMsg_SetAllowRunningInsecureContent(MSG_ROUTING_NONE, true)); |