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

Unified Diff: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h

Issue 2003023002: Introduce the Blink NotificationService, move permission checks there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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: 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 08cd6767c7509d084e97c0b281abce7ecba07923..2f815b3b6f3f671e3be3cebce74d6f6c6483a5b3 100644
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
@@ -15,12 +15,6 @@
namespace blink {
-namespace mojom {
-namespace blink {
-enum class PermissionStatus;
-}
-}
-
class WebNotificationDelegate;
class WebSecurityOrigin;
class WebServiceWorkerRegistration;
@@ -62,9 +56,6 @@ public:
// 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

Powered by Google App Engine
This is Rietveld 408576698