Index: chrome/installer/util/shell_util.h |
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
index bfdb9b953ecfeec05bd2c918e40e8096246a7b16..d3ff95beb98dbd7036a18e1caf9d84f0a3e57903 100644 |
--- a/chrome/installer/util/shell_util.h |
+++ b/chrome/installer/util/shell_util.h |
@@ -526,6 +526,25 @@ class ShellUtil { |
static void RemoveStartScreenShortcuts(BrowserDistribution* dist, |
const string16& target_exe); |
+ // Traverses through instsalles shortcut(s) in a similar fashion as |
gab
2013/04/24 21:41:46
nit: instsalles ?!
huangs
2013/04/25 16:27:46
installed. Done.
|
+ // RemoveShortcut(). For each matched shortcut to |old_target_exe|, |
+ // update the shortcut so that it points to |new_target_exe|. |
+ static bool MigrateShortcut(ShellUtil::ShortcutLocation location, |
+ BrowserDistribution* dist, |
+ const base::FilePath& old_target_exe, |
+ const base::FilePath& new_target_exe, |
+ ShellChange level, |
+ const string16* shortcut_name); |
+ |
+ // Simmilar to RemoveTaskbarShortcuts(), but performs migration. |
+ static void MigrateTaskbarShortcuts(const string16& old_target_exe, |
+ const string16& new_target_exe); |
+ |
+ // Simmilar to RemoveStartScreenShortcuts(), but performs migration. |
+ static void MigrateStartScreenShortcuts(BrowserDistribution* dist, |
+ const string16& old_target_exe, |
+ const string16& new_target_exe); |
+ |
// Sets |suffix| to the base 32 encoding of the md5 hash of this user's sid |
// preceded by a dot. |
// This is guaranteed to be unique on the machine and 27 characters long |