Special-case history and diff desktop links

Bug: 64112
Change-Id: Ifa7539c277afc239abee2fa3e3019b03d34f295f
Merge "Special-case history and diff desktop links"