Chromium Code Reviews| Index: chrome/browser/content_settings/tab_specific_content_settings.cc |
| diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc |
| index 671666c4f5bca883b248ee59a0aec74f12519133..bdbf62920f7dde364eac42bce50fdb9d88c146ed 100644 |
| --- a/chrome/browser/content_settings/tab_specific_content_settings.cc |
| +++ b/chrome/browser/content_settings/tab_specific_content_settings.cc |
| @@ -331,6 +331,13 @@ void TabSpecificContentSettings::OnContentBlockedWithDetail( |
| status.blocked = false; |
| status.blockage_indicated_to_user = false; |
| } |
| + |
| + if (type == CONTENT_SETTINGS_TYPE_KEYGEN) { |
| + HostContentSettingsMap* map = HostContentSettingsMapFactory::GetForProfile( |
| + Profile::FromBrowserContext(web_contents()->GetBrowserContext())); |
| + GURL url = web_contents()->GetLastCommittedURL(); |
| + map->SetNarrowestContentSetting(url, url, type, CONTENT_SETTING_ASK); |
| + } |
|
Finnur
2015/12/01 23:19:57
I believe this is what you are referring to in you
|
| #endif |
| if (type == CONTENT_SETTINGS_TYPE_PLUGINS && !details.empty() && |