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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 14287008: Refactoring installer shortcut deletion; adding dedicated shortcut update feature. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fixes; cleanups. Created 7 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/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index e8cd5933c25a34dddd77357d4cf58d020d78555a..925b84342619226e9d6df919f49f557f9bb4d4f0 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -144,9 +144,8 @@ int DoUninstallTasks(bool chrome_still_running) {
};
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
for (size_t i = 0; i < arraysize(user_shortcut_locations); ++i) {
- if (!ShellUtil::RemoveShortcut(user_shortcut_locations[i], dist,
- chrome_exe, ShellUtil::CURRENT_USER,
- NULL)) {
+ if (!ShellUtil::RemoveShortcuts(user_shortcut_locations[i], dist,
+ ShellUtil::CURRENT_USER, chrome_exe)) {
VLOG(1) << "Failed to delete shortcut at location "
<< user_shortcut_locations[i];
}

Powered by Google App Engine
This is Rietveld 408576698