| 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 f2eb599f4db5d489aec943122325727978c56f49..213c7b58944116754fb26da990e1048654215fcf 100644
|
| --- a/content/browser/notifications/platform_notification_context_impl.h
|
| +++ b/content/browser/notifications/platform_notification_context_impl.h
|
| @@ -18,6 +18,7 @@
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/platform_notification_context.h"
|
| +#include "third_party/WebKit/public/platform/modules/notifications/notification_service.mojom.h"
|
|
|
| class GURL;
|
|
|
| @@ -54,6 +55,14 @@ class CONTENT_EXPORT PlatformNotificationContextImpl
|
| // To be called on the UI thread when the context is being shut down.
|
| void Shutdown();
|
|
|
| + // Creates a BlinkNotificationServiceImpl that is owned by this context. Will
|
| + // be called on the UI thread when an interface request is received.
|
| + void CreateService(
|
| + mojo::InterfaceRequest<blink::mojom::NotificationService> request);
|
| +
|
| + // Returns the associated browser context.
|
| + BrowserContext* browser_context() const { return browser_context_; }
|
| +
|
| // PlatformNotificationContext implementation.
|
| void ReadNotificationData(int64_t notification_id,
|
| const GURL& origin,
|
|
|