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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 0acf00e95ff87db52eb55aaea3f4f5a51e42883b..7f3763bebfffb5bff09fd06e95c5c21affe3d4ce 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2099,17 +2099,6 @@ bool ChromeContentBrowserClient::AllowWebRTCIdentityCache(
}
#endif // BUILDFLAG(ENABLE_WEBRTC)
-bool ChromeContentBrowserClient::AllowKeygen(
- const GURL& url,
- content::ResourceContext* context) {
- HostContentSettingsMap* content_settings =
- ProfileIOData::FromResourceContext(context)->GetHostContentSettingsMap();
-
- return content_settings->GetContentSetting(
- url, url, CONTENT_SETTINGS_TYPE_KEYGEN, std::string()) ==
- CONTENT_SETTING_ALLOW;
-}
-
ChromeContentBrowserClient::AllowWebBluetoothResult
ChromeContentBrowserClient::AllowWebBluetooth(
content::BrowserContext* browser_context,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/content_settings/host_content_settings_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698