Index: chrome/browser/background/background_application_list_model.cc |
diff --git a/chrome/browser/background/background_application_list_model.cc b/chrome/browser/background/background_application_list_model.cc |
index ef4aefa723517465bec2c48819b2a9448e72773f..91dacd680671eceaee097f98f0740d5e6f91a86a 100644 |
--- a/chrome/browser/background/background_application_list_model.cc |
+++ b/chrome/browser/background/background_application_list_model.cc |
@@ -25,7 +25,6 @@ |
#include "extensions/browser/extension_prefs.h" |
#include "extensions/browser/extension_registry.h" |
#include "extensions/browser/extension_system.h" |
-#include "extensions/browser/extension_util.h" |
#include "extensions/browser/image_loader.h" |
#include "extensions/browser/notification_types.h" |
#include "extensions/common/extension.h" |
@@ -264,11 +263,6 @@ bool BackgroundApplicationListModel::IsBackgroundApp( |
// 2) It is a hosted app, and has a background contents registered or in the |
// manifest. |
- // Ephemeral apps are denied any background activity after their event page |
- // has been destroyed, thus they cannot be background apps. |
- if (extensions::util::IsEphemeralApp(extension.id(), profile)) |
- return false; |
- |
// Not a background app if we don't have the background permission. |
if (!extension.permissions_data()->HasAPIPermission( |
APIPermission::kBackground)) { |