nsBookmarksService::IsBookmarked(const char* aURL, PRBool* aIsBookmarked)
nsBookmarksService::IsBookmarked(const char *aURI, PRBool *isBookmarkedFlag)
nsBookmarksService::IsBookmarked(const char* aURL, PRBool* aIsBookmarked){    NS_ENSURE_ARG(aURL);    NS_ENSURE_ARG_POINTER(aIsBookmarked);    if (!mInner)        return NS_ERROR_UNEXPECTED;    *aIsBookmarked = PR_FALSE;    nsCOMPtr<nsIRDFLiteral> urlLiteral;    nsresult rv = gRDF->GetLiteral(NS_ConvertUTF8toUCS2(aURL).get(),                                   getter_AddRefs(urlLiteral));    if (NS_FAILED(rv))        return rv;    nsCOMPtr<nsIRDFResource> bookmark;    rv = GetSource(kNC_URL, urlLiteral, PR_TRUE, getter_AddRefs(bookmark));    if (NS_FAILED(rv))        return rv;    return IsBookmarkedResource(bookmark, aIsBookmarked);}