| 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..775e8105a9061926bb29c5b0b655147741e34ad4 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::MIXED_SCRIPT_ACTION_DISPLAYED_BUBBLE);
|
| set_custom_link_enabled(true);
|
| }
|
|
|
| void ContentSettingMixedScriptBubbleModel::OnCustomLinkClicked() {
|
| - content::RecordAction(UserMetricsAction("MixedScript_LoadAnyway_Bubble"));
|
| + TabSpecificContentSettings::RecordMixedScriptAction(
|
| + TabSpecificContentSettings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW);
|
| DCHECK(web_contents());
|
| web_contents()->SendToAllFrames(
|
| new ChromeViewMsg_SetAllowRunningInsecureContent(MSG_ROUTING_NONE, true));
|
|
|