Bug 852482 - Add methods to execute actions on completed downloads. r=paolo