| Index: content/browser/notifications/platform_notification_context_impl.h
|
| diff --git a/content/browser/notifications/platform_notification_context_impl.h b/content/browser/notifications/platform_notification_context_impl.h
|
| index 757d22e42b130377f72f5d10461b59cca4072186..e208324774b82d65da0be59cc4297ef82859a774 100644
|
| --- a/content/browser/notifications/platform_notification_context_impl.h
|
| +++ b/content/browser/notifications/platform_notification_context_impl.h
|
| @@ -62,6 +62,10 @@ class CONTENT_EXPORT PlatformNotificationContextImpl
|
| void DeleteNotificationData(int64_t notification_id,
|
| const GURL& origin,
|
| const DeleteResultCallback& callback) override;
|
| + void ReadAllNotificationDataForServiceWorkerRegistration(
|
| + const GURL& origin,
|
| + int64_t service_worker_registration_id,
|
| + const ReadAllResultCallback& callback) override;
|
|
|
| // ServiceWorkerContextObserver implementation.
|
| void OnRegistrationDeleted(int64_t registration_id,
|
| @@ -100,6 +104,14 @@ class CONTENT_EXPORT PlatformNotificationContextImpl
|
| const GURL& origin,
|
| const ReadResultCallback& callback);
|
|
|
| + // Actually reads all notification data from the database. Must only be
|
| + // called on the |task_runner_| thread. |callback| will be invoked on the
|
| + // IO thread when the operation has completed.
|
| + void DoReadAllNotificationDataForServiceWorkerRegistration(
|
| + const GURL& origin,
|
| + int64_t service_worker_registration_id,
|
| + const ReadAllResultCallback& callback);
|
| +
|
| // Actually writes the notification database to the database. Must only be
|
| // called on the |task_runner_| thread. |callback| will be invoked on the
|
| // IO thread when the operation has completed.
|
|
|