| Index: content/browser/notifications/notification_message_filter.h
|
| diff --git a/content/browser/notifications/notification_message_filter.h b/content/browser/notifications/notification_message_filter.h
|
| index 8f400a681fb1601108dd52267d507e720e246a70..7dcbcbddc702d477df8cb22653ef5f093c4f7b32 100644
|
| --- a/content/browser/notifications/notification_message_filter.h
|
| +++ b/content/browser/notifications/notification_message_filter.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/browser_message_filter.h"
|
| +#include "content/public/browser/notification_database_data.h"
|
| #include "third_party/WebKit/public/platform/modules/notifications/WebNotificationPermission.h"
|
|
|
| class GURL;
|
| @@ -81,6 +82,16 @@ class CONTENT_EXPORT NotificationMessageFilter : public BrowserMessageFilter {
|
| bool success,
|
| int64_t notification_id);
|
|
|
| + // Callback to be invoked when all notifications belonging to a Service Worker
|
| + // registration have been read from the database. The |success| argument
|
| + // indicates whether the data could be read successfully, whereas the actual
|
| + // notifications will be stored in |notifications|.
|
| + void DidGetNotifications(
|
| + int request_id,
|
| + const std::string& filter_tag,
|
| + bool success,
|
| + const std::vector<NotificationDatabaseData>& notifications);
|
| +
|
| // Callback to be invoked when the data associated with a persistent
|
| // notification has been removed by the database, unless an error occurred,
|
| // which will be indicated by |success|.
|
|
|