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

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

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.h
diff --git a/Source/modules/push_messaging/PushManager.h b/Source/modules/push_messaging/PushManager.h
index a01895b77e9f186e0a0a44a01f891109450c3053..b65b721b217aab0dc6a7e1da71731f9c3da7378c 100644
--- a/Source/modules/push_messaging/PushManager.h
+++ b/Source/modules/push_messaging/PushManager.h
@@ -23,6 +23,7 @@ public:
}
ScriptPromise registerPushMessaging(ScriptState*, const String& senderId);
+ ScriptPromise hasPermission(ScriptState*);
void trace(Visitor*) { }

Powered by Google App Engine
This is Rietveld 408576698