Chromium Code Reviews| Index: chrome/browser/notifications/desktop_notification_service.cc |
| diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc |
| index 24e1fb332d26e55183d3792423665199797c3792..bb1473c25f86ac40ed14e67d0917cf7f2096a3bc 100644 |
| --- a/chrome/browser/notifications/desktop_notification_service.cc |
| +++ b/chrome/browser/notifications/desktop_notification_service.cc |
| @@ -253,6 +253,10 @@ void DesktopNotificationService::UpdateContentSetting( |
| } |
| } |
| +bool DesktopNotificationService::RestrictToSecureOrigins() const { |
| + return false; |
|
ddorwin
2015/05/26 17:31:31
Are notifications really not restricted? Looking a
mlamouri (slow - plz ping)
2015/05/29 14:35:15
They are not HTTPS-only.
|
| +} |
| + |
| void DesktopNotificationService::FirePermissionLevelChangedEvent( |
| const NotifierId& notifier_id, bool enabled) { |
| #if defined(ENABLE_EXTENSIONS) |