rv = Init(); if (NS_SUCCEEDED(rv)) rv = Refresh(PR_TRUE);
rv = LoadData();
LocalStoreImpl::Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData){    nsresult rv = NS_OK;    if (!nsCRT::strcmp(aTopic, NS_LITERAL_STRING("profile-before-change").get())) {                    nsCOMPtr<nsIRDFService> rdf = do_QueryReferent(gRDF);        if (rdf)            rdf->UnregisterDataSource(this);        mInner = nsnull;        if (!nsCRT::strcmp(someData, NS_LITERAL_STRING("shutdown-cleanse").get())) {            nsCOMPtr<nsIFile> aFile;            rv = NS_GetSpecialDirectory(NS_APP_LOCALSTORE_50_FILE, getter_AddRefs(aFile));            if (NS_SUCCEEDED(rv))                rv = aFile->Remove(PR_FALSE);        }    }    else if (!nsCRT::strcmp(aTopic, NS_LITERAL_STRING("profile-do-change").get())) {        rv = Init();        if (NS_SUCCEEDED(rv))            rv = Refresh(PR_TRUE);    }    return rv;}