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

Unified Diff: chrome/browser/notifications/desktop_notification_service.h

Issue 61323002: Fix broken threading model in CheckDesktopNotificationPermission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: chrome/browser/notifications/desktop_notification_service.h
diff --git a/chrome/browser/notifications/desktop_notification_service.h b/chrome/browser/notifications/desktop_notification_service.h
index cd9dbd0dd00e2140af9712b04f7fe0b8552511b2..0c08e6ad480bea608fe67437f175b5feb0067af9 100644
--- a/chrome/browser/notifications/desktop_notification_service.h
+++ b/chrome/browser/notifications/desktop_notification_service.h
@@ -151,11 +151,6 @@ class DesktopNotificationService : public BrowserContextKeyedService,
ContentSetting GetContentSetting(const GURL& origin);
- // Checks to see if a given origin has permission to create desktop
- // notifications.
- WebKit::WebNotificationPresenter::Permission
- HasPermission(const GURL& origin);
-
// Returns true if the notifier with |notifier_id| is allowed to send
// notifications.
bool IsNotifierEnabled(const message_center::NotifierId& notifier_id);

Powered by Google App Engine
This is Rietveld 408576698