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

Unified Diff: content/browser/notifications/notification_event_dispatcher_impl.h

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits 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: content/browser/notifications/notification_event_dispatcher_impl.h
diff --git a/content/browser/notifications/notification_event_dispatcher_impl.h b/content/browser/notifications/notification_event_dispatcher_impl.h
index fbc5d429f272edd3800662c4f4c40c3e43c7dab6..fc19dc9ed77ed7c2aa9780de611a6bd6ab6b0b97 100644
--- a/content/browser/notifications/notification_event_dispatcher_impl.h
+++ b/content/browser/notifications/notification_event_dispatcher_impl.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/singleton.h"
+#include "content/public/browser/notification_database_data.h"
#include "content/public/browser/notification_event_dispatcher.h"
namespace content {
@@ -25,8 +26,15 @@ class NotificationEventDispatcherImpl : public NotificationEventDispatcher {
int64_t persistent_notification_id,
const GURL& origin,
int action_index,
- const NotificationClickDispatchCompleteCallback&
- dispatch_complete_callback) override;
+ const NotificationDispatchCompleteCallback& dispatch_complete_callback)
+ override;
+ void DispatchNotificationCloseEvent(
+ BrowserContext* browser_context,
+ int64_t persistent_notification_id,
+ const GURL& origin,
+ bool by_user,
+ const NotificationDispatchCompleteCallback& dispatch_complete_callback)
+ override;
private:
NotificationEventDispatcherImpl();

Powered by Google App Engine
This is Rietveld 408576698