nsLoggingProgressNotifier::FinalStatus(const PRUnichar *URL, PRInt32 status)
nsLoggingProgressListener::FinalStatus(const PRUnichar *URL, PRInt32 status)
nsLoggingProgressNotifier::FinalStatus(const PRUnichar *URL, PRInt32 status){    if (mLogStream == nsnull) return NS_ERROR_NULL_POINTER;    *mLogStream << nsEndl;    switch (status)    {    case nsInstall::SUCCESS:        *mLogStream << "     Install completed successfully" << nsEndl;        break;    case nsInstall::REBOOT_NEEDED:        *mLogStream << "     Install completed successfully, restart required" << nsEndl;        break;    case nsInstall::ABORT_INSTALL:        *mLogStream << "     Install script aborted" << nsEndl;        break;    case nsInstall::USER_CANCELLED:        *mLogStream << "     Install cancelled by user" << nsEndl;        break;    default:        *mLogStream << "     Install **FAILED** with error " << status << nsEndl;        break;    }    return NS_OK;}