Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 18524101b3f7c080d079630635b77814aea66c83..2145e4418f4c53f0b96bcfa7be95b0b2f0b57094 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -405,6 +405,9 @@ class CONTENT_EXPORT ContentBrowserClient { |
ResourceContext* context); |
#endif // defined(ENABLE_WEBRTC) |
+ // Allow the embedder to control whether we can use <keygen>. |
+ virtual bool AllowKeygen(const GURL& url, content::ResourceContext* context); |
+ |
// Allow the embedder to override the request context based on the URL for |
// certain operations, like cookie access. Returns nullptr to indicate the |
// regular request context should be used. |