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 bde800ce9cb16ffbe0f3c6af073e3b280f8a60cf..fc4a69fcb572734168baf5741a7998a5600d9223 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.cc |
+++ b/chrome/browser/notifications/desktop_notification_service.cc |
@@ -54,6 +54,7 @@ |
#include "chrome/browser/extensions/extension_service.h" |
#include "extensions/browser/event_router.h" |
#include "extensions/browser/extension_system.h" |
+#include "extensions/browser/extension_util.h" |
#include "extensions/browser/info_map.h" |
#include "extensions/common/constants.h" |
#include "extensions/common/extension.h" |
@@ -722,7 +723,7 @@ void DesktopNotificationService::Observe( |
return; |
// The settings for ephemeral apps will be persisted across cache evictions. |
- if (extension->is_ephemeral()) |
+ if (extensions::util::IsEphemeralApp(extension->id(), profile_)) |
return; |
SetNotifierEnabled(notifier_id, true); |