Index: apps/saved_files_service.cc |
diff --git a/apps/saved_files_service.cc b/apps/saved_files_service.cc |
index e4a4fd9b70f4816b9f68fdfb0627ed951d66efdc..223f56b3e845a0cdaae85cda147f3424bd0cbe9b 100644 |
--- a/apps/saved_files_service.cc |
+++ b/apps/saved_files_service.cc |
@@ -261,8 +261,7 @@ const SavedFileEntry* SavedFilesService::GetFileEntry( |
void SavedFilesService::ClearQueueIfNoRetainPermission( |
const Extension* extension) { |
- if (extensions::util::IsEphemeralApp(extension->id(), profile_) || |
- !extension->permissions_data()->active_permissions().HasAPIPermission( |
+ if (!extension->permissions_data()->active_permissions().HasAPIPermission( |
APIPermission::kFileSystemRetainEntries)) { |
ClearQueue(extension); |
} |