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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some logging statements Created 4 years, 11 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: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
index 1535e6683c411fcf8eb5dc6b043ba45148b90a8a..7538c9d01bfbd5ae5426a42559e04cd57edfa2d7 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
@@ -174,6 +174,10 @@ void WaitUntilObserver::decrementPendingActivity()
m_consumeWindowInteractionTimer.stop();
Nina 2016/01/21 13:55:36 I can't figure out what this does. Mind giving me
consumeWindowInteraction(nullptr);
break;
+ case NotificationClose:
+ // TODO(nsatragno): figure out what consumeWindowInteraction does.
+ client->didHandleNotificationCloseEvent(m_eventID, result);
+ break;
case Push:
client->didHandlePushEvent(m_eventID, result);
break;

Powered by Google App Engine
This is Rietveld 408576698