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

Unified Diff: chrome/browser/automation/automation_provider_observers.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
« no previous file with comments | « no previous file | chrome/browser/background/background_application_list_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index e621e8b28f1fcdc49b765048fe75d94f592d67fc..b7c48dae20195873e4b22cd0ab749d881bb83142 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -2117,17 +2117,6 @@ NTPInfoObserver::NTPInfoObserver(
apps_list->Append(*app);
}
delete disabled_apps;
- // Process terminated extensions.
- const ExtensionSet* terminated_extensions =
- ext_service->terminated_extensions();
- std::vector<DictionaryValue*>* terminated_apps = GetAppInfoFromExtensions(
- terminated_extensions, ext_service);
- for (std::vector<DictionaryValue*>::const_iterator app =
- terminated_apps->begin(); app != terminated_apps->end(); ++app) {
- (*app)->SetBoolean("is_disabled", true);
- apps_list->Append(*app);
- }
- delete terminated_apps;
ntp_info_->Set("apps", apps_list);
// Get the info that would be displayed in the recently closed section.
« no previous file with comments | « no previous file | chrome/browser/background/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698