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

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

Issue 1720263002: Add a policy_browsertest for the DefaultWebBluetoothGuardSetting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy-disable-bt
Patch Set: Created 4 years, 10 months 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
« no previous file with comments | « content/public/browser/browser_message_filter.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9e6c1745d80d750c65cfa8fbc47d39881ce421e7..5e67780483df2eb806ddc168f262078c1099268c 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -410,6 +410,11 @@ class CONTENT_EXPORT ContentBrowserClient {
// Allow the embedder to control whether we can use <keygen>.
virtual bool AllowKeygen(const GURL& url, content::ResourceContext* context);
+ // Allow the embedder to control whether we can use Web Bluetooth.
+ // TODO(https://crbug.com/563724): Replace this with a proper use of the
+ // permissions system.
+ virtual bool AllowWebBluetooth();
+
// 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 | « content/public/browser/browser_message_filter.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698