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

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

Issue 1417173010: Adding <keygen> Content Setting (core) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing test_runner. 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.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 7213c7b3fbd479893fef88109f3fd703dc7e42e7..f40bbb3f8dbae6e4d872190dfec37dbec450287f 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -400,6 +400,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.

Powered by Google App Engine
This is Rietveld 408576698