nsHTTPIndex::Create(nsIURI* aBaseURL, nsIInterfaceRequestor* aRequestor, nsIHTTPIndex** aResult)
nsHTTPIndex::Create(nsIURI* aBaseURL, nsISupports* aContainer, nsIHTTPIndex** aResult)
nsHTTPIndex::Create(nsIURI* aBaseURL, nsIInterfaceRequestor* aRequestor,                    nsIHTTPIndex** aResult){  *aResult = nsnull;  nsHTTPIndex* result = new nsHTTPIndex(aRequestor);  if (! result)    return NS_ERROR_OUT_OF_MEMORY;  nsresult rv = result->Init(aBaseURL);  if (NS_SUCCEEDED(rv))  {    NS_ADDREF(result);    *aResult = result;  }  else  {    delete result;  }  return rv;}