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

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

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move ExtensionSet to extensions namespace Created 7 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_contents_service.cc
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index 4579cbdbaf5272b8f3101f20b655f6ab82d13270..79ba668f1d45523b4fd388f1c7c05fbae7acdac7 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -585,10 +585,11 @@ void BackgroundContentsService::LoadBackgroundContentsFromDictionary(
void BackgroundContentsService::LoadBackgroundContentsFromManifests(
Profile* profile) {
- const ExtensionSet* extensions = extensions::ExtensionSystem::Get(profile)->
- extension_service()->extensions();
- ExtensionSet::const_iterator iter = extensions->begin();
- for (; iter != extensions->end(); ++iter) {
+ const extensions::ExtensionSet* extensions =
+ extensions::ExtensionSystem::Get(profile)->
+ extension_service()->extensions();
+ for (extensions::ExtensionSet::const_iterator iter = extensions->begin();
+ iter != extensions->end(); ++iter) {
const Extension* extension = iter->get();
if (extension->is_hosted_app() &&
BackgroundInfo::HasBackgroundPage(extension)) {

Powered by Google App Engine
This is Rietveld 408576698