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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 1417173010: Adding <keygen> Content Setting (core) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 5ec8af59bcd7f67c1a96bf831b95f206bbfe5969..cc76f06cb335626c635333106b0ad80fb042c548 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -217,6 +217,11 @@ bool ContentBrowserClient::AllowWebRTCIdentityCache(const GURL& url,
}
#endif // defined(ENABLE_WEBRTC)
+bool ContentBrowserClient::AllowKeygen(const GURL& url,
+ content::ResourceContext* context) {
+ return true;
+}
+
QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698