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

Unified Diff: chrome/browser/extensions/installed_loader.cc

Issue 8733004: Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: = Created 9 years, 1 month 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/extensions/installed_loader.cc
diff --git a/chrome/browser/extensions/installed_loader.cc b/chrome/browser/extensions/installed_loader.cc
index 43a1304f5eeeea4118aff38a77197f20a9eea86a..47189f97cd274c7f0b2361fadde24a7f85299958 100644
--- a/chrome/browser/extensions/installed_loader.cc
+++ b/chrome/browser/extensions/installed_loader.cc
@@ -180,8 +180,8 @@ void InstalledLoader::LoadAllExtensions() {
int theme_count = 0;
int page_action_count = 0;
int browser_action_count = 0;
- const ExtensionList* extensions = extension_service_->extensions();
- ExtensionList::const_iterator ex;
+ const ExtensionSet* extensions = extension_service_->extensions();
+ ExtensionSet::const_iterator ex;
for (ex = extensions->begin(); ex != extensions->end(); ++ex) {
Extension::Location location = (*ex)->location();
Extension::Type type = (*ex)->GetType();
@@ -245,7 +245,7 @@ void InstalledLoader::LoadAllExtensions() {
++browser_action_count;
extension_service_->RecordPermissionMessagesHistogram(
- ex->get(), "Extensions.Permissions_Load");
+ *ex, "Extensions.Permissions_Load");
}
UMA_HISTOGRAM_COUNTS_100("Extensions.LoadApp",
app_user_count + app_external_count);

Powered by Google App Engine
This is Rietveld 408576698