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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 263403002: Replace OnceOffCreateShortcuts with UpdateShortcutsForAllAppsIfNeeded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 7 months 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/shortcut_manager.cc ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index 1cf439bcc0d5b387785e5a373e489299fe075a3f..1a6a084817ed7132839879e6d45f350b42076674 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -13,8 +13,6 @@
#include "base/prefs/pref_service.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
-#include "chrome/browser/apps/shortcut_manager.h"
-#include "chrome/browser/apps/shortcut_manager_factory.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -347,11 +345,6 @@ void AppListServiceImpl::EnableAppList(Profile* initial_profile,
false),
base::TimeDelta::FromMinutes(kDiscoverabilityTimeoutMinutes));
}
-
- AppShortcutManager* shortcut_manager =
- AppShortcutManagerFactory::GetForProfile(initial_profile);
- if (shortcut_manager)
- shortcut_manager->OnceOffCreateShortcuts();
}
void AppListServiceImpl::InvalidatePendingProfileLoads() {
« no previous file with comments | « chrome/browser/apps/shortcut_manager.cc ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698