| Index: chrome/browser/automation/automation_provider_observers.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider_observers.cc (revision 113231)
|
| +++ chrome/browser/automation/automation_provider_observers.cc (working copy)
|
| @@ -2018,11 +2018,11 @@
|
| // as identified from a given list of extensions. The caller takes ownership
|
| // of the created vector.
|
| std::vector<DictionaryValue*>* GetAppInfoFromExtensions(
|
| - const ExtensionList* extensions,
|
| + const ExtensionSet* extensions,
|
| ExtensionService* ext_service) {
|
| std::vector<DictionaryValue*>* apps_list =
|
| new std::vector<DictionaryValue*>();
|
| - for (ExtensionList::const_iterator ext = extensions->begin();
|
| + for (ExtensionSet::const_iterator ext = extensions->begin();
|
| ext != extensions->end(); ++ext) {
|
| // Only return information about extensions that are actually apps.
|
| if ((*ext)->is_app()) {
|
| @@ -2090,7 +2090,7 @@
|
| }
|
| // Process enabled extensions.
|
| ListValue* apps_list = new ListValue();
|
| - const ExtensionList* extensions = ext_service->extensions();
|
| + const ExtensionSet* extensions = ext_service->extensions();
|
| std::vector<DictionaryValue*>* enabled_apps = GetAppInfoFromExtensions(
|
| extensions, ext_service);
|
| for (std::vector<DictionaryValue*>::const_iterator app =
|
| @@ -2100,7 +2100,7 @@
|
| }
|
| delete enabled_apps;
|
| // Process disabled extensions.
|
| - const ExtensionList* disabled_extensions = ext_service->disabled_extensions();
|
| + const ExtensionSet* disabled_extensions = ext_service->disabled_extensions();
|
| std::vector<DictionaryValue*>* disabled_apps = GetAppInfoFromExtensions(
|
| disabled_extensions, ext_service);
|
| for (std::vector<DictionaryValue*>::const_iterator app =
|
| @@ -2110,7 +2110,7 @@
|
| }
|
| delete disabled_apps;
|
| // Process terminated extensions.
|
| - const ExtensionList* terminated_extensions =
|
| + const ExtensionSet* terminated_extensions =
|
| ext_service->terminated_extensions();
|
| std::vector<DictionaryValue*>* terminated_apps = GetAppInfoFromExtensions(
|
| terminated_extensions, ext_service);
|
|
|