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

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

Issue 8733004: Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: + Created 9 years 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 6550ba2a300a03e0496471cbf2a4076d69f5e69b..d7d47403f30a05c6d3bd8974534d21a0ee856f41 100644
--- a/chrome/browser/background/background_application_list_model.cc
+++ b/chrome/browser/background/background_application_list_model.cc
@@ -71,9 +71,9 @@ class BackgroundApplicationListModel::Application
namespace {
void GetServiceApplications(ExtensionService* service,
ExtensionList* applications_result) {
- const ExtensionList* extensions = service->extensions();
+ const ExtensionSet* extensions = service->extensions();
- for (ExtensionList::const_iterator cursor = extensions->begin();
+ for (ExtensionSet::const_iterator cursor = extensions->begin();
cursor != extensions->end();
++cursor) {
const Extension* extension = *cursor;
@@ -84,7 +84,7 @@ void GetServiceApplications(ExtensionService* service,
// Walk the list of terminated extensions also (just because an extension
// crashed doesn't mean we should ignore it).
extensions = service->terminated_extensions();
- for (ExtensionList::const_iterator cursor = extensions->begin();
+ for (ExtensionSet::const_iterator cursor = extensions->begin();
cursor != extensions->end();
++cursor) {
const Extension* extension = *cursor;

Powered by Google App Engine
This is Rietveld 408576698