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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.cc

Issue 231673005: Move ShortcutInfo, ShortcutLocations from ShellIntegration to web_app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windws Created 6 years, 8 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
Index: chrome/browser/ui/views/app_list/win/app_list_service_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
index aa8be826c880af015ad8e8b902326db6d5bad002..33ed474599022ef8ce0b17fbe00747be1ce71113 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
@@ -203,7 +203,7 @@ void SetDidRunForNDayActiveStats() {
void CreateAppListShortcuts(
const base::FilePath& user_data_dir,
const base::string16& app_model_id,
- const ShellIntegration::ShortcutLocations& creation_locations) {
+ const web_app::ShortcutLocations& creation_locations) {
DCHECK_CURRENTLY_ON(content::BrowserThread::FILE);
// Shortcut paths under which to create shortcuts.
@@ -455,11 +455,11 @@ void AppListServiceWin::CreateShortcut() {
// Shortcuts should only be created once. If the user unpins the taskbar
// shortcut, they can restore it by pinning the start menu or desktop
// shortcut.
- ShellIntegration::ShortcutLocations shortcut_locations;
+ web_app::ShortcutLocations shortcut_locations;
shortcut_locations.on_desktop = true;
shortcut_locations.in_quick_launch_bar = true;
shortcut_locations.applications_menu_location =
- ShellIntegration::APP_MENU_LOCATION_SUBDIR_CHROME;
+ web_app::APP_MENU_LOCATION_SUBDIR_CHROME;
base::FilePath user_data_dir(
g_browser_process->profile_manager()->user_data_dir());

Powered by Google App Engine
This is Rietveld 408576698