Download manager. Not part of build.

This commit is contained in:
blakeross%telocity.com 2002-03-04 07:02:54 +00:00
parent 9518c712e9
commit 9b6d33f82b
2 changed files with 1 additions and 5 deletions

View File

@ -280,6 +280,7 @@ nsDownloadManager::AssertProgressInfoFor(const char* aPersistentDescriptor)
else
rv = mDataSource->Assert(res, gNC_ProgressPercent, intLiteral, PR_TRUE);
// update download state (not started, downloading, queued, finished, etc...)
DownloadState state;
internalDownload->GetDownloadState(&state);
@ -313,9 +314,6 @@ nsDownloadManager::AssertProgressInfoFor(const char* aPersistentDescriptor)
if (oldTarget)
rv = mDataSource->Change(res, gNC_StatusText, oldTarget, literal);
else
rv = mDataSource->Assert(res, gNC_StatusText, literal, PR_TRUE);
// update transferred
PRInt32 current = 0;
@ -329,7 +327,6 @@ nsDownloadManager::AssertProgressInfoFor(const char* aPersistentDescriptor)
maxBytes.get()
};
// first with the search text
rv = mBundle->FormatStringFromName(NS_LITERAL_STRING("transferred").get(),
strings, 2, getter_Copies(value));

View File

@ -205,7 +205,6 @@ nsDownloadProgressListener.prototype = {
},
onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage, aDownload)
{
// XXX error handling
},
onSecurityChange: function(aWebProgress, aRequest, state, aDownload)
{