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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase + include content_settings_types.h more Created 3 years, 10 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: chrome/browser/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index a03b72c8607f63a53a2cf6e43b0a9f3e40778eb4..10c6a5466efe2ad66c68a8a7717c5f45d6d221e2 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -33,7 +33,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/desktop_notification_delegate.h"
#include "content/public/browser/notification_event_dispatcher.h"
-#include "content/public/browser/permission_type.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/common/notification_resources.h"
#include "content/public/common/platform_notification_data.h"
@@ -229,7 +228,7 @@ PlatformNotificationServiceImpl::CheckPermissionOnUIThread(
#endif
return PermissionManager::Get(profile)->GetPermissionStatus(
- content::PermissionType::NOTIFICATIONS, origin, origin);
+ CONTENT_SETTINGS_TYPE_NOTIFICATIONS, origin, origin);
}
blink::mojom::PermissionStatus

Powered by Google App Engine
This is Rietveld 408576698