Making ShortcutOpUpdate() in chrome\installer\util\shell_util.cc use SHORTCUT_UPDATE_EXISTING.
Details:
- Fixing shell_util_unittest.cc: ValidateChromeShortcut() now also allows .target to be overridden.
- Creating file for dummy target "manganese.exe" (otherwise retargeting shortcuts do not work).
- Updating tests:
ShellUtilShortcutTest.UpdateChromeShortcut
ShellUtilShortcutTest.UpdateSystemLevelChromeShortcut
ShellUtilShortcutTest.UpdateMultipleChromeShortcuts
to use ValidateChromeShortcut(), instead of callling base::win::ResolveShortcut() directly.
BUG=268978
Review URL: https://chromiumcodereview.appspot.com/
22301005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216025 0039d316-1c4b-4281-b951-d872f2087c98