mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
Bug 392152: notify front-end when clearing DM history, so that it can clear the active list, r=sdwilsh
This commit is contained in:
parent
dad1140140
commit
9374b535be
@ -171,12 +171,15 @@ interface nsIDownloadManager : nsISupports {
|
||||
|
||||
/**
|
||||
* Whether or not there are downloads that can be cleaned up (removed)
|
||||
* i.e. downloads that have completed, have failed or have been canceled.
|
||||
* i.e. downloads that have completed, have failed or have been canceled.
|
||||
*/
|
||||
readonly attribute boolean canCleanUp;
|
||||
|
||||
/**
|
||||
* Removes completed, failed, and canceled downloads from the list.
|
||||
* Removes completed, failed, and canceled downloads from the list.
|
||||
*
|
||||
* Also notifies observers of the "download-manager-clear-history"
|
||||
* topic, to allow any DM consumers to react to the removals.
|
||||
*/
|
||||
void cleanUp();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user