Restricting scope of ShellUtil's shortcut update feature for its specific usage in...
commit07c987ad2242c9c78e7fad29973db27e53d830c0
authorhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 13 Sep 2013 23:50:42 +0000 (13 23:50 +0000)
committerhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 13 Sep 2013 23:50:42 +0000 (13 23:50 +0000)
treeaedcb00e65f0f58a303017ab9582d3e8274a9c4d
parent2cc49adc7d8f23dc6e71a156101ee76cc37e689b
Restricting scope of ShellUtil's shortcut update feature for its specific usage in Chrome self-destruct flow.

This is a follow-up to https://chromiumcodereview.appspot.com/22382007/ , to implement gab@'s suggested changes. Details:
- Renaming ShellUtil::UpdateShortcuts() to ShellUtil::UpdateShortcuts() to UpdateShortcutsWithArgs().
- Removing the |require_args| from the interface of ShellUtil::UpdateShortcuts() (always set to true).
- Change is propagated to caller in uninstall.cc.
- Update to tests.

BUG=235857

Review URL: https://chromiumcodereview.appspot.com/23581012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223173 0039d316-1c4b-4281-b951-d872f2087c98
chrome/installer/setup/uninstall.cc
chrome/installer/util/shell_util.cc
chrome/installer/util/shell_util.h
chrome/installer/util/shell_util_unittest.cc