Bug 945668 - [Download Manager] Adapt shared components to Download API