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

Unified Diff: chrome/installer/setup/install.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: Removing name_filter; removing general directory operations; renaming 'migrate' to 'retarget'; code… 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/installer/setup/install.cc
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc
index f64ed8e4820ca1b5243f5ded5b4c467e579c8ecb..b8ebe94fd372897dac60815ae6fae078910fd018 100644
--- a/chrome/installer/setup/install.cc
+++ b/chrome/installer/setup/install.cc
@@ -260,9 +260,9 @@ void CleanupLegacyShortcuts(const InstallerState& installer_state,
file_util::Delete(uninstall_shortcut_path, false);
if (installer_state.system_install()) {
- ShellUtil::RemoveShortcut(
- ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH, dist, chrome_exe,
- ShellUtil::SYSTEM_LEVEL, NULL);
+ ShellUtil::RemoveShortcuts(
+ ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH, dist,
+ ShellUtil::SYSTEM_LEVEL, chrome_exe);
}
}

Powered by Google App Engine
This is Rietveld 408576698