[Downloads Plugin] Update existing job when being signalled creation of existing job
ClosedPublic

Authored by broulik on May 29 2019, 8:15 AM.

Details

Summary

This is in preparation for allowing for Firefox to suspend download jobs which makes a suspend to as look like a cancellation.

Test Plan

By ignoring a cancel event after suspending a download, I can now pause and unpause properly. However, cancelling while paused obviously doesn't work anymore then. So, this needs further work overall but this patch is a preparation step for that.

Diff Detail

Repository
R856 Plasma Browser Integration
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.May 29 2019, 8:15 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 29 2019, 8:15 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.May 29 2019, 8:15 AM
fvogt accepted this revision.May 29 2019, 9:53 AM
This revision is now accepted and ready to land.May 29 2019, 9:53 AM
This revision was automatically updated to reflect the committed changes.