Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Unified Diff: content/common/permission_service.mojom

Issue 1260193009: renderer: implement multiple permission requesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permissions-request-multiple
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/permission_service.mojom
diff --git a/content/common/permission_service.mojom b/content/common/permission_service.mojom
index b9447b9f35686cfc93f0d04ccb3ce194e07e8b10..90386a51fdee2f76b7d175c1c7c47343ee95490a 100644
--- a/content/common/permission_service.mojom
+++ b/content/common/permission_service.mojom
@@ -23,6 +23,8 @@ interface PermissionService {
=> (PermissionStatus status);
RequestPermission(PermissionName permission, string origin, bool user_gesture)
=> (PermissionStatus status);
+ RequestPermissions(array<PermissionName> permission, string origin, bool user_gesture)
+ => (array<PermissionStatus> statuses);
RevokePermission(PermissionName permission, string origin)
=> (PermissionStatus status);

Powered by Google App Engine
This is Rietveld 408576698