Closed Bug 396456 Opened 17 years ago Closed 17 years ago

Refactor PauseResume into Pause, Cancel, Resume, RealResume

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Attachments

(1 file)

Patch split off from bug 230870 (attachment 280259 [details] [diff] [review] which is r+ a1.9+), see bug 230870 comment 72 for naming. This is xs.7 and xs.8 for cleaning up the code path instead of doing Pause OR Resume -> PauseResume -> Pause OR Resume, it'll go Pause -> Pause and Resume -> Resume. Additionally, this fixes up various parts of the code to to use the refactored methods such as Cancel. Patch is applied after the one for bug 396453.
Blocks: 396457
Comment on attachment 281209 [details] [diff] [review] patch for checkin For clarity, this is r=sdwilsh, a=mconnor
Checking in toolkit/components/downloads/src/nsDownloadManager.cpp; /cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManager.cpp,v <-- nsDownloadManager.cpp new revision: 1.120; previous revision: 1.119 done Checking in toolkit/components/downloads/src/nsDownloadManager.h; /cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManager.h,v <-- nsDownloadManager.h new revision: 1.44; previous revision: 1.43 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: