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

Unified Diff: chrome/browser/ui/website_settings/website_settings.cc

Issue 1412523003: Adding <keygen> Content Setting (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on core CL. Created 5 years, 1 month 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
Index: chrome/browser/ui/website_settings/website_settings.cc
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index a62ecbe05b8299e22db765d673e87e4f36469814..fedc2793bc4b166d003d0fd53b4ee233cee9f3e2 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -95,6 +95,7 @@ ContentSettingsType kPermissionType[] = {
#if defined(OS_ANDROID)
CONTENT_SETTINGS_TYPE_PUSH_MESSAGING,
#endif
+ CONTENT_SETTINGS_TYPE_KEYGEN,
};
// Returns true if any of the given statuses match |status|.
@@ -281,6 +282,7 @@ void WebsiteSettings::OnSitePermissionChanged(ContentSettingsType type,
secondary_pattern = ContentSettingsPattern::FromURLNoWildcard(site_url_);
} else if (type == CONTENT_SETTINGS_TYPE_IMAGES ||
type == CONTENT_SETTINGS_TYPE_JAVASCRIPT ||
+ type == CONTENT_SETTINGS_TYPE_KEYGEN ||
msramek 2015/11/05 16:22:31 This sounds like a security feature to me, so I wo
svaldez 2015/11/05 16:35:12 Done.
type == CONTENT_SETTINGS_TYPE_PLUGINS ||
type == CONTENT_SETTINGS_TYPE_POPUPS ||
type == CONTENT_SETTINGS_TYPE_MOUSELOCK ||

Powered by Google App Engine
This is Rietveld 408576698