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

Unified Diff: Source/modules/push_messaging/PushManager.idl

Issue 658723003: Blink implementation of PushManager#hasPermission() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename enum to a more understandable name Created 6 years, 2 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: Source/modules/push_messaging/PushManager.idl
diff --git a/Source/modules/push_messaging/PushManager.idl b/Source/modules/push_messaging/PushManager.idl
index 4346304f2dd9b9587ee20ff38a6040123f267944..30ba113931bfaaf30b82938e2ab282cb23369590 100644
--- a/Source/modules/push_messaging/PushManager.idl
+++ b/Source/modules/push_messaging/PushManager.idl
@@ -8,4 +8,5 @@
GarbageCollected,
] interface PushManager {
[CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register(DOMString senderId);
+ [CallWith=ScriptState] Promise permissionStatus();
mlamouri (slow - plz ping) 2014/10/17 09:22:01 Shouldn't that be called hasPermission()?
Miguel Garcia 2014/10/20 09:58:10 Indeed, I must have confused things with the resul
};

Powered by Google App Engine
This is Rietveld 408576698