PRBool profileDirSet = PR_FALSE; nsCString profileURLStr("");
PRBool profileDirSet = PR_FALSE; char *profstr;
nsProfile::StartupWithArgs(nsICmdLineService *cmdLineArgs){  nsresult rv;  // initializations for profile manager  PRBool profileDirSet = PR_FALSE;  nsCString profileURLStr("");  #ifdef DEBUG_profile  printf("Profile Manager : Profile Wizard and Manager activites : Begin\n");#endif  Startup(nsnull);  if (cmdLineArgs)    rv = ProcessArgs(cmdLineArgs, &profileDirSet, profileURLStr);    if (!profileDirSet) {    rv = LoadDefaultProfileDir(profileURLStr);    if (NS_FAILED(rv)) {	 CloseRegistry();	 return rv;    }  }  // Closing the registry that was opened in Startup()  rv = CloseRegistry();  if (NS_FAILED(rv)) return rv;#ifdef DEBUG_profile  printf("Profile Manager : Profile Wizard and Manager activites : End\n");#endif  return NS_OK;}