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

Unified Diff: Source/modules/notifications/ServiceWorkerRegistrationNotifications.h

Issue 1016843002: Implement the ServiceWorkerRegistration.getNotifications() API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update the webexposed test Created 5 years, 9 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/notifications/ServiceWorkerRegistrationNotifications.h
diff --git a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h
index 251d6e7229569c01dd745939cb5c30cefedc6e74..63557da6017d17ea79049bb364658488f40f0791 100644
--- a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h
+++ b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h
@@ -11,12 +11,14 @@
namespace blink {
class ExceptionState;
+class GetNotificationOptions;
class NotificationOptions;
class ScriptState;
class ServiceWorkerRegistrationNotifications {
public:
static ScriptPromise showNotification(ScriptState*, ServiceWorkerRegistration&, const String& title, const NotificationOptions&, ExceptionState&);
+ static ScriptPromise getNotifications(ScriptState*, ServiceWorkerRegistration&, const GetNotificationOptions&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698