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 0f8c738e4cb894f11dbb46f61e26e4869459c50e..9dc9d9824d6b59ce454404c8ffa8e40f8fe73614 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.cc |
+++ b/chrome/browser/notifications/desktop_notification_service.cc |
@@ -781,6 +781,10 @@ void DesktopNotificationService::Observe( |
if (IsNotifierEnabled(notifier_id)) |
return; |
+ // The settings for ephemeral apps will be persisted across cache evictions. |
+ if (extension->is_ephemeral()) |
+ return; |
+ |
SetNotifierEnabled(notifier_id, true); |
} |