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

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: Fix typos. 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 a9e7d2eda924cb554e2555f18e20283da04fdfc2..e449584d3ef305a1a62680337eb97b41dafbb71c 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -211,6 +211,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