Chromium Code Reviews
DescriptionDisable ProfileShortcutManager for App Launcher (chrome.exe --show-app-list)
The existing code in ProfileShort assumes chrome.exe means Chrome Browser. As a result, when a profile is created (in particular, when App Launcher is first run after install), it attempts to update Chrome shortcut, and ends up creating it, even though Chrome is not installed.
The minimal-effective solution is to disable ProfileShortcutManager if chrom.exe is run for App Launcher (via chrome.exe --show-app-list).
If we ever want to support profile shortcuts for App Launcher, we'll need to undo this change, and also update
profile_shortcut_manager_win.cc: CreateOrUpdateDesktopShortcutsForProfile()
to use ChromeAppHostDistribution, and scan for app_host.exe in shortcuts.
BUG=174849
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188121
Patch Set 1 #
Messages
Total messages: 12 (0 generated)
|
|||||||||||||||||||