| 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 34ff478dd0e8fcbd585372014f3dca41ffd99086..b93a68a30b502abd43e28675459a65ae0b7b4968 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -418,9 +418,15 @@ class CONTENT_EXPORT ContentBrowserClient {
|
|
|
| // 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);
|
| + enum class AllowWebBluetoothResult {
|
| + ALLOW,
|
| + BLOCK_POLICY,
|
| + BLOCK_GLOBALLY_DISABLED,
|
| + };
|
| + virtual AllowWebBluetoothResult 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
|
|
|