nsBookmarksService::GetTargets(nsIRDFResource* aSource, nsIRDFResource* aProperty, PRBool aTruthValue, nsISimpleEnumerator** aTargets) {  NS_PRECONDITION(aSource != nsnull, "null ptr"); if (! aSource) return NS_ERROR_NULL_POINTER;  NS_PRECONDITION(aProperty != nsnull, "null ptr"); if (! aProperty) return NS_ERROR_NULL_POINTER;  if (!aTruthValue) return NS_NewEmptyEnumerator(aTargets);  if (aSource == kNC_LastModifiedFoldersRoot && aProperty == kNC_child) { return GetLastModifiedFolders(aTargets); }  if ((aProperty == kNC_Icon) && !mBrowserIcons) {  return NS_NewEmptyEnumerator(aTargets); }  PRBool isLivemark = PR_FALSE; if (aProperty == kNC_child && NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Livemark, PR_TRUE, &isLivemark)) && isLivemark) { UpdateLivemarkChildren(aSource); }  return mInner->GetTargets(aSource, aProperty, aTruthValue, aTargets);  }
NS_IMETHOD GetTargets(nsIRDFResource* source, nsIRDFResource* property, PRBool tv, nsISimpleEnumerator** targets) { return mInner->GetTargets(source, property, tv, targets); }
nsBookmarksService::GetTargets(nsIRDFResource* aSource,                               nsIRDFResource* aProperty,                               PRBool aTruthValue,                               nsISimpleEnumerator** aTargets){  NS_PRECONDITION(aSource != nsnull, "null ptr");  if (! aSource)    return NS_ERROR_NULL_POINTER;  NS_PRECONDITION(aProperty != nsnull, "null ptr");  if (! aProperty)    return NS_ERROR_NULL_POINTER;  if (!aTruthValue)    return NS_NewEmptyEnumerator(aTargets);  if (aSource == kNC_LastModifiedFoldersRoot && aProperty == kNC_child) {    return GetLastModifiedFolders(aTargets);  }  if ((aProperty == kNC_Icon) && !mBrowserIcons) {    // if the user has favicons turned off, don't return anything    return NS_NewEmptyEnumerator(aTargets);  }  PRBool isLivemark = PR_FALSE;  if (aProperty == kNC_child &&      NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Livemark,                                        PR_TRUE, &isLivemark)) &&      isLivemark)  {    UpdateLivemarkChildren(aSource);  }  return mInner->GetTargets(aSource, aProperty, aTruthValue, aTargets);}