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

Unified Diff: chrome/browser/shell_integration_win.cc

Issue 1289333005: Change shortcut install location to non-subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert part of cl/1438793002 that is no longer needed Created 5 years, 1 month 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/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index ff5423fd7823b92801100098151af5a17f1eddf3..589411f944f59a2be36d08d1ecbcbf4433b1cd91 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -624,19 +624,6 @@ base::FilePath ShellIntegration::GetStartMenuShortcut(
shortcut = programs_folder.Append(shortcut_name);
if (base::PathExists(shortcut))
return shortcut;
-
- // Check in "Start Menu\Programs\<BROWSER>" if the shortcut was not found in
- // "Start Menu\Programs". This fallback check is here to handle running
- // instances that are updated past the change that migrates Chrome's start
- // menu shortcut from the "Google Chrome" folder up into the main "Programs"
- // folder. This code will become obsolete when the migration change lands,
- // and is to be removed in that change.
- shortcut =
- programs_folder.Append(dist->GetStartMenuShortcutSubfolder(
- BrowserDistribution::SUBFOLDER_CHROME))
- .Append(shortcut_name);
- if (base::PathExists(shortcut))
- return shortcut;
}
return base::FilePath();
« no previous file with comments | « chrome/browser/chrome_browser_main_win.cc ('k') | chrome/browser/ui/views/app_list/win/app_list_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698