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

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: 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..a61bd69c2e088af3938494509a321c659f064fc2 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 hasPermission();
Michael van Ouwerkerk 2014/10/20 11:25:42 Why don't we have an idl definition for enum PushP
Miguel Garcia 2014/10/22 12:58:43 It does not seem needed really it is never used as
};

Powered by Google App Engine
This is Rietveld 408576698