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

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: Rebase on top of other change 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 fc360be3be2690f55cf4363623723a31d4900db8..8e3cfe57ce2bf3acd40695da0dd8067e5353c011 100644
--- a/content/common/permission_service.mojom
+++ b/content/common/permission_service.mojom
@@ -24,6 +24,8 @@ interface PermissionService {
=> (PermissionStatus status);
RequestPermission(PermissionName permission, string origin, bool user_gesture)
=> (PermissionStatus status);
+ RequestBatchPermission(array<PermissionName> permission, string origin, bool user_gesture)
mlamouri (slow - plz ping) 2015/08/21 10:24:41 Would Mojo be happy if we were to do overloading?
Lalit Maganti 2015/08/21 12:56:00 No Mojo doesn't support overloading which is why I
+ => (array<PermissionStatus> statuses);
RevokePermission(PermissionName permission, string origin)
=> (PermissionStatus status);

Powered by Google App Engine
This is Rietveld 408576698