| Index: chrome/browser/permissions/permission_context_base.h
|
| diff --git a/chrome/browser/permissions/permission_context_base.h b/chrome/browser/permissions/permission_context_base.h
|
| index 72ef40eee34a40502376ba08970940774901d7b8..2ce35aa9b756fae9cb8d5dac2dea81c79d1d2396 100644
|
| --- a/chrome/browser/permissions/permission_context_base.h
|
| +++ b/chrome/browser/permissions/permission_context_base.h
|
| @@ -107,6 +107,10 @@ class PermissionContextBase : public KeyedService {
|
| virtual void CancelPermissionRequest(content::WebContents* web_contents,
|
| const PermissionRequestID& id);
|
|
|
| + // Returns true if the feature is allowed to be used in workers. Most features
|
| + // are not allowed to be used in workers.
|
| + virtual bool IsAllowedInWorkers() const;
|
| +
|
| // Whether the kill switch has been enabled for this permission.
|
| // public for permissions that do not use RequestPermission, like
|
| // camera and microphone, and for testing.
|
|
|