summaryrefslogtreecommitdiffstats
path: root/content/common/permission_service.mojom
diff options
context:
space:
mode:
authormlamouri <mlamouri@chromium.org>2015-03-17 09:06:25 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-17 16:06:54 +0000
commit670a86def14a54e127fdad702be51572a81532a8 (patch)
treedb2b71707156a8c009483e0bb2df75cd22ec9a9e /content/common/permission_service.mojom
parent00700c38f70e29ab78ad5ec4770745e524891a79 (diff)
downloadchromium_src-670a86def14a54e127fdad702be51572a81532a8.zip
chromium_src-670a86def14a54e127fdad702be51572a81532a8.tar.gz
chromium_src-670a86def14a54e127fdad702be51572a81532a8.tar.bz2
Implement WebPermissionClient for Document and Worker contexts
It does enable Permissions.query() in Document and Worker context. It is using the mojo pipe associated to the RenderFrameImpl or BlinkPlatformImpl so the PermissionManager doesn't need to know in which context it lives. However, it needs to do some thread jumping to be back in the main thread. This is based on top of https://codereview.chromium.org/804553003 BUG=437770 Review URL: https://codereview.chromium.org/801613004 Cr-Commit-Position: refs/heads/master@{#320927}
Diffstat (limited to 'content/common/permission_service.mojom')
-rw-r--r--content/common/permission_service.mojom3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/permission_service.mojom b/content/common/permission_service.mojom
index 9dd952d..2ed9d3e 100644
--- a/content/common/permission_service.mojom
+++ b/content/common/permission_service.mojom
@@ -8,8 +8,9 @@ import "content/public/common/permission_status.mojom";
enum PermissionName {
GEOLOCATION,
- MIDI_SYSEX,
NOTIFICATIONS,
+ PUSH_NOTIFICATIONS,
+ MIDI_SYSEX,
PROTECTED_MEDIA_IDENTIFIER,
};