summaryrefslogtreecommitdiffstats
path: root/src/core/permission_manager_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-04-04 15:13:31 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2016-04-05 11:41:08 +0000
commit3e9a6407bbbc5f83eb8bd56c5c1d899dba9bc56f (patch)
treeb525366744fc29fd0f5ed0e28681e430866b6e52 /src/core/permission_manager_qt.h
parent9da7a0649cfa65c784e86cf3496b188c9d8d15c4 (diff)
Implement CheckMediaAccessPermission
Fixes access of label of MediaStream tracks Also fixes the logged error: WebContentsDelegate::CheckMediaAccessPermission: Not supported. Change-Id: I3fee9ccd9e8b2e5cbd6b707336cc61425a44ba31 Task-number: QTBUG-52216 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/core/permission_manager_qt.h')
-rw-r--r--src/core/permission_manager_qt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/permission_manager_qt.h b/src/core/permission_manager_qt.h
index 6dfc60c39..8d03f275e 100644
--- a/src/core/permission_manager_qt.h
+++ b/src/core/permission_manager_qt.h
@@ -54,6 +54,7 @@ public:
typedef BrowserContextAdapter::PermissionType PermissionType;
void permissionRequestReply(const QUrl &origin, PermissionType type, bool reply);
+ bool checkPermission(const QUrl &origin, PermissionType type);
// content::PermissionManager implementation:
void RequestPermission(