| 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..00bae9f7013304ecb71b7c545b48f7c89544c52c 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -84,6 +84,10 @@ namespace ui {
|
| class SelectFilePolicy;
|
| }
|
|
|
| +namespace url {
|
| +class Origin;
|
| +}
|
| +
|
| namespace storage {
|
| class ExternalMountPoints;
|
| class FileSystemBackend;
|
| @@ -410,6 +414,12 @@ 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(crbug.com/589228): Replace this with a use of the permission system.
|
| + virtual bool AllowWebBluetooth(content::BrowserContext* browser_context,
|
| + const url::Origin& requesting_origin,
|
| + const url::Origin& embedding_origin);
|
| +
|
| // 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.
|
|
|