Index: content/browser/permissions/permission_service_impl.h |
diff --git a/content/browser/permissions/permission_service_impl.h b/content/browser/permissions/permission_service_impl.h |
index a6d120cd8be515c6dad0afbab3c6510ee53d2a51..b83a6973f06692f8f8df961a9041465194f47abf 100644 |
--- a/content/browser/permissions/permission_service_impl.h |
+++ b/content/browser/permissions/permission_service_impl.h |
@@ -40,6 +40,8 @@ class PermissionServiceImpl : public PermissionService { |
private: |
using PermissionStatusCallback = mojo::Callback<void(PermissionStatus)>; |
+ using PermissionsStatusCallback = |
+ mojo::Callback<void(mojo::Array<PermissionStatus>)>; |
struct PendingRequest { |
PendingRequest(PermissionType permission, const GURL& origin, |
@@ -73,6 +75,10 @@ class PermissionServiceImpl : public PermissionService { |
const mojo::String& origin, |
bool user_gesture, |
const PermissionStatusCallback& callback) override; |
+ void RequestPermissions(mojo::Array<PermissionName> permissions, |
+ const mojo::String& origin, |
+ bool user_gesture, |
+ const PermissionsStatusCallback& callback) override; |
void RevokePermission(PermissionName permission, |
const mojo::String& origin, |
const PermissionStatusCallback& callback) override; |