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

Unified Diff: Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 1072873002: Clean up Blink left-overs of textual persistent notification ids. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index fb6044a0ddf2b5a8f8fd18548974489f6ab04c8a..79893bbf7ef18cc78b761b140003c528634b2c80 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -141,16 +141,6 @@ void ServiceWorkerGlobalScopeProxy::dispatchNotificationClickEvent(int eventID,
m_workerGlobalScope->dispatchExtendableEvent(event.release(), observer);
}
-void ServiceWorkerGlobalScopeProxy::dispatchNotificationClickEvent(int eventID, const WebString& notificationID, const WebNotificationData& data)
-{
- ASSERT(m_workerGlobalScope);
- WaitUntilObserver* observer = WaitUntilObserver::create(m_workerGlobalScope, WaitUntilObserver::NotificationClick, eventID);
- NotificationEventInit eventInit;
- eventInit.setNotification(Notification::create(m_workerGlobalScope, notificationID, data));
- RefPtrWillBeRawPtr<Event> event(NotificationEvent::create(EventTypeNames::notificationclick, eventInit, observer));
- m_workerGlobalScope->dispatchExtendableEvent(event.release(), observer);
-}
-
void ServiceWorkerGlobalScopeProxy::dispatchPushEvent(int eventID, const WebString& data)
{
ASSERT(m_workerGlobalScope);

Powered by Google App Engine
This is Rietveld 408576698