Bug 388909 - fix build breakage from 384374 for MOZ_RDF-disabled builds

p=romaxa <romaxa@gmail.com>
r+sr=biesi
This commit is contained in:
asqueella@gmail.com 2007-07-23 16:36:16 -07:00
parent 4e0cdb052a
commit 44635ae515
2 changed files with 4 additions and 4 deletions

View File

@ -1000,12 +1000,12 @@ nsresult nsExternalHelperAppService::FillProtoInfoForSchemeFromDS(
#endif
}
#ifdef MOZ_RDF
nsresult nsExternalHelperAppService::FillHandlerInfoForTypeFromDS(
nsIRDFResource *aTypeNodeResource, const nsCAutoString &aType,
nsIRDFService *rdf, const char *aTypeNodePrefix,
nsIHandlerInfo * aHandlerInfo)
{
#ifdef MOZ_RDF
// we need a way to determine if this type resource is really in the graph
// or not... Test that there's a #value arc from the type resource to the
@ -1040,10 +1040,8 @@ nsresult nsExternalHelperAppService::FillHandlerInfoForTypeFromDS(
}
return rv;
#else
return NS_ERROR_NOT_AVAILABLE;
#endif /* MOZ_RDF */
}
#endif /* MOZ_RDF */
nsresult nsExternalHelperAppService::FillMIMEInfoForExtensionFromDS(
const nsACString& aFileExtension, nsIMIMEInfo * aMIMEInfo)

View File

@ -140,6 +140,7 @@ public:
NS_HIDDEN_(nsresult) FillProtoInfoForSchemeFromDS(
const nsACString& aScheme, nsIHandlerInfo * aMIMEInfo);
#ifdef MOZ_RDF
/**
* Fill in the generic handler info stuff; called by Fill*InfoFor*FromDS.
*
@ -154,6 +155,7 @@ public:
nsIRDFResource *aTypeNodeResource, const nsCAutoString& aType,
nsIRDFService *aRDFService, const char *aTypeNodePrefix,
nsIHandlerInfo * aHandlerInfo);
#endif
/**
* Given an extension, look up the user override information to see if we