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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.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/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 0d6383a6ff1d57562c9f27bee2dd9d15c5885470..c04b77bf39aa2b85ed9927d96e35f9e422fae6de 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -425,20 +425,21 @@ void AppLauncherHandler::HandleGetApps(const ListValue* args) {
// The first time we load the apps we must add all current app to the list
// of apps visible on the NTP.
if (!has_loaded_apps_) {
- const ExtensionSet* extensions = extension_service_->extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ const extensions::ExtensionSet* extensions =
+ extension_service_->extensions();
+ for (extensions::ExtensionSet::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
visible_apps_.insert((*it)->id());
}
extensions = extension_service_->disabled_extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ for (extensions::ExtensionSet::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
visible_apps_.insert((*it)->id());
}
extensions = extension_service_->terminated_extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ for (extensions::ExtensionSet::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
visible_apps_.insert((*it)->id());
}

Powered by Google App Engine
This is Rietveld 408576698