| Index: chrome/browser/notifications/message_center_settings_controller.cc
|
| diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc
|
| index d2148a83e4e81233f059b420dacb3d809ed8ac7e..de82030fb48863ac6c918e4bf0802fddcc89874d 100644
|
| --- a/chrome/browser/notifications/message_center_settings_controller.cc
|
| +++ b/chrome/browser/notifications/message_center_settings_controller.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/extensions/app_icon_loader_impl.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| +#include "chrome/browser/extensions/extension_util.h"
|
| #include "chrome/browser/favicon/favicon_service.h"
|
| #include "chrome/browser/favicon/favicon_service_factory.h"
|
| #include "chrome/browser/history/history_types.h"
|
| @@ -229,6 +230,12 @@ void MessageCenterSettingsController::GetNotifierList(
|
| continue;
|
| }
|
|
|
| + // Exclude cached ephemeral apps that are not currently running.
|
| + if (extension->is_ephemeral() &&
|
| + extensions::util::IsExtensionIdle(extension->id(), profile)) {
|
| + continue;
|
| + }
|
| +
|
| NotifierId notifier_id(NotifierId::APPLICATION, extension->id());
|
| notifiers->push_back(new Notifier(
|
| notifier_id,
|
|
|