nsToolkitProfileService::gService = nsnull;
nsToolkitProfileService::gService->mChosen = nsnull;
nsToolkitProfile::Remove(PRBool removeFiles){    NS_ASSERTION(nsToolkitProfileService::gService,                 "Whoa, my service is gone.");    if (mLock)        return NS_ERROR_FILE_IS_LOCKED;    if (removeFiles)        mFile->Remove(PR_TRUE);    if (mPrev)        mPrev->mNext = mNext;    else        nsToolkitProfileService::gService->mFirst = mNext;    if (mNext)        mNext->mPrev = mPrev;    mPrev = nsnull;    mNext = nsnull;    if (nsToolkitProfileService::gService->mChosen == this)        nsToolkitProfileService::gService = nsnull;    nsToolkitProfileService::gService->mDirty = PR_TRUE;    return NS_OK;}