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

Unified Diff: chrome/browser/apps/shortcut_manager.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: 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
« no previous file with comments | « chrome/browser/apps/app_url_redirector.cc ('k') | chrome/browser/autocomplete/extension_app_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/shortcut_manager.cc
diff --git a/chrome/browser/apps/shortcut_manager.cc b/chrome/browser/apps/shortcut_manager.cc
index 4d4630549f95df3c03e2ffcc6a060a59c486d82d..4d2ff6dc9de982565e48514d21d76a071ba97347 100644
--- a/chrome/browser/apps/shortcut_manager.cc
+++ b/chrome/browser/apps/shortcut_manager.cc
@@ -21,12 +21,12 @@
#include "chrome/browser/ui/web_applications/web_app_ui.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/extensions/extension_set.h"
#include "chrome/common/pref_names.h"
#include "components/user_prefs/pref_registry_syncable.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
+#include "extensions/common/extension_set.h"
#if defined(OS_MACOSX)
#include "apps/app_shim/app_shim_mac.h"
@@ -186,8 +186,8 @@ void AppShortcutManager::OnceOffCreateShortcuts() {
return;
// Create an applications menu shortcut for each app in this profile.
- const ExtensionSet* apps = extension_service->extensions();
- for (ExtensionSet::const_iterator it = apps->begin();
+ const extensions::ExtensionSet* apps = extension_service->extensions();
+ for (extensions::ExtensionSet::const_iterator it = apps->begin();
it != apps->end(); ++it) {
if (ShouldCreateShortcutFor(it->get()))
web_app::UpdateShortcutInfoAndIconForApp(
« no previous file with comments | « chrome/browser/apps/app_url_redirector.cc ('k') | chrome/browser/autocomplete/extension_app_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698