nsAutoString value; value.AssignWithConversion("nn");
nsAutoString value; value.Assign(NS_LITERAL_STRING("nn"));
wallet_OKToCapture(char* urlName, nsIDOMWindowInternal* window) {  nsAutoString url; url.AssignWithConversion(urlName);  /* exit if pref is not set */  if (!wallet_GetFormsCapturingPref() || !wallet_GetEnabledPref()) {    return PR_FALSE;  }  /* see if this url is already on list of url's for which we don't want to capture */  wallet_InitializeURLList();  nsVoidArray* dummy;  nsAutoString value; value.AssignWithConversion("nn");  if (wallet_ReadFromList(url, value, dummy, wallet_URL_list, PR_FALSE)) {    if (value.CharAt(NO_CAPTURE) == 'y') {      return PR_FALSE;    }  }  /* ask user if we should capture the values on this form */  PRUnichar * message = Wallet_Localize("WantToCaptureForm?");  PRInt32 button = Wallet_3ButtonConfirm(message, window);  if (button == NEVER_BUTTON) {    /* add URL to list with NO_CAPTURE indicator set */    value.SetCharAt('y', NO_CAPTURE);    if (wallet_WriteToList(url, value, dummy, wallet_URL_list, PR_FALSE, DUP_OVERWRITE)) {      wallet_WriteToFile(URLFileName, wallet_URL_list);    }  }  Recycle(message);  return (button == YES_BUTTON);}