Index: chrome/installer/util/shell_util.h |
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
index 5977023f832ab7d1276caabae872d61d662614a4..20764e297f5dc852a5e5e85dbcdd732ca8e03024 100644 |
--- a/chrome/installer/util/shell_util.h |
+++ b/chrome/installer/util/shell_util.h |
@@ -45,6 +45,7 @@ class ShellUtil { |
SHORTCUT_LOCATION_DESKTOP, |
SHORTCUT_LOCATION_QUICK_LAUNCH, |
SHORTCUT_LOCATION_START_MENU, |
+ SHORTCUT_LOCATION_START_MENU_ROOT, |
gab
2013/05/15 22:42:20
Synchronize with https://codereview.chromium.org/1
huangs
2013/05/17 20:59:24
Done; deleted for now.
|
SHORTCUT_LOCATION_TASKBAR_PINS, // base::win::VERSION_WIN7 + |
SHORTCUT_LOCATION_APP_SHORTCUTS, // base::win::VERSION_WIN8 + |
}; |
@@ -536,6 +537,16 @@ class ShellUtil { |
const base::FilePath& target_exe, |
const ShellUtil::ShortcutProperties& properties); |
+ // Similar to UpdateShortcuts(), but operates on shortcuts whose filename |
+ // matches |name_filter|. |
+ static bool UpdateShortcutsFilteredByName( |
+ ShellUtil::ShortcutLocation location, |
+ BrowserDistribution* dist, |
+ ShellChange level, |
+ const string16& name_filter, |
+ const base::FilePath& target_exe, |
+ const ShellUtil::ShortcutProperties& properties); |
+ |
// 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 |