Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: chrome/browser/background/background_application_list_model.cc

Issue 9370013: Simplify the handling of crashed extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d7d47403f30a05c6d3bd8974534d21a0ee856f41..04113db33c360ffccb2e07cbd79e70610fb037e2 100644
--- a/chrome/browser/background/background_application_list_model.cc
+++ b/chrome/browser/background/background_application_list_model.cc
@@ -81,17 +81,6 @@ void GetServiceApplications(ExtensionService* service,
applications_result->push_back(extension);
}
- // Walk the list of terminated extensions also (just because an extension
- // crashed doesn't mean we should ignore it).
- extensions = service->terminated_extensions();
- for (ExtensionSet::const_iterator cursor = extensions->begin();
- cursor != extensions->end();
- ++cursor) {
- const Extension* extension = *cursor;
- if (BackgroundApplicationListModel::IsBackgroundApp(*extension))
- applications_result->push_back(extension);
- }
-
std::string locale = g_browser_process->GetApplicationLocale();
icu::Locale loc(locale.c_str());
UErrorCode error = U_ZERO_ERROR;
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698