Permission_Add(nsString imageURL, PRBool permission, PRInt32 type) { if (imageURL.Length() == 0) {
Permission_Add(nsString& objectURL, PRBool permission, PRInt32 type) { if (objectURL.IsEmpty()) {
Permission_Add(nsString imageURL, PRBool permission, PRInt32 type) {  if (imageURL.Length() == 0) {    return;  }  char * imageURLCString = imageURL.ToNewCString();  char *host = cookie_ParseURL(imageURLCString, GET_HOST_PART);  Recycle(imageURLCString);  char * hostname = nsnull;  StrAllocCopy(hostname, host);  Recycle(host);  permission_Add(hostname, permission, type, PR_TRUE);}