| 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 155af6c78b7e40825ce1b50951ed4c5918996d7d..63cbdd20bb9723fd0b3bc2aac2d6dd5ea85624e1 100644
|
| --- a/chrome/browser/automation/automation_provider_observers.cc
|
| +++ b/chrome/browser/automation/automation_provider_observers.cc
|
| @@ -2064,6 +2064,17 @@ NTPInfoObserver::NTPInfoObserver(
|
| apps_list->Append(*app);
|
| }
|
| delete disabled_apps;
|
| + // Process terminated extensions.
|
| + const ExtensionList* 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.
|
|
|