DescriptionWhen app shortcuts are enabled, do a once-off creation of all shortcuts.
This adds a boolean (kAppShortcutsEnabled) to user prefs. At startup,
ShortcutManager checks the pref and sets the current value. On a
transition from false to true, ShortcutManager iterates over all
apps and creates shortcuts as if the app is being installed.
BUG=249189
TEST=Delete app shortcuts from the OS applications folder.
Start Chrome, the shortcuts should be created.
Delete the shortcuts again.
Restart Chrome, the shortcuts are not created a second time.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207832
Patch Set 1 #
Total comments: 22
Patch Set 2 : Address comments. Fix tests. #
Messages
Total messages: 9 (0 generated)
|