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

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: Fixing ContentSetting Register. 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 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.
« no previous file with comments | « components/content_settings/core/common/pref_names.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698