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

Unified Diff: content/public/browser/notification_event_dispatcher.h

Issue 1026853002: Integrate the notification database with the normal code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-db-ConfirmShow
Patch Set: fix layout tests 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: content/public/browser/notification_event_dispatcher.h
diff --git a/content/public/browser/notification_event_dispatcher.h b/content/public/browser/notification_event_dispatcher.h
index 0e79ff1ec87d6d7c83a33c5f90bd030535b4c4be..4509bacf246003defe0fb2d4ad2a91c51358c7a9 100644
--- a/content/public/browser/notification_event_dispatcher.h
+++ b/content/public/browser/notification_event_dispatcher.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_EVENT_DISPATCHER_H_
#define CONTENT_PUBLIC_BROWSER_NOTIFICATION_EVENT_DISPATCHER_H_
+#include <stdint.h>
#include <string>
#include "base/callback_forward.h"
@@ -30,14 +31,12 @@ class CONTENT_EXPORT NotificationEventDispatcher {
base::Callback<void(PersistentNotificationStatus)>;
// Dispatches the "notificationclick" event on the Service Worker associated
- // with |origin| and |service_worker_registration_id|. The |callback| will
- // be invoked when it's known whether the event successfully executed.
+ // with |persistent_notification_id| belonging to |origin|. The |callback|
+ // will be invoked when it's known whether the event successfully executed.
virtual void DispatchNotificationClickEvent(
BrowserContext* browser_context,
+ int64_t persistent_notification_id,
const GURL& origin,
- int64 service_worker_registration_id,
- const std::string& notification_id,
- const PlatformNotificationData& notification_data,
const NotificationClickDispatchCompleteCallback&
dispatch_complete_callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698