| Index: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
|
| diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
|
| index 2f815b3b6f3f671e3be3cebce74d6f6c6483a5b3..08cd6767c7509d084e97c0b281abce7ecba07923 100644
|
| --- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
|
| +++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
|
| @@ -14,6 +14,12 @@
|
| #include <stdint.h>
|
|
|
| namespace blink {
|
| +
|
| +namespace mojom {
|
| +namespace blink {
|
| +enum class PermissionStatus;
|
| +}
|
| +}
|
|
|
| class WebNotificationDelegate;
|
| class WebSecurityOrigin;
|
| @@ -56,6 +62,9 @@
|
| // Indicates that the delegate object is being destroyed, and must no longer
|
| // be used by the embedder to dispatch events.
|
| virtual void notifyDelegateDestroyed(WebNotificationDelegate*) = 0;
|
| +
|
| + // Synchronously checks the permission level for the given origin.
|
| + virtual mojom::blink::PermissionStatus checkPermission(const WebSecurityOrigin&) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|