зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a8a2b3d99ed9 (bug 1348981)
This commit is contained in:
Родитель
261978bbab
Коммит
fb83346aed
|
@ -15,7 +15,6 @@ interface nsIClassInfo;
|
|||
interface nsIComponentManager;
|
||||
interface nsICycleCollectorListener;
|
||||
interface nsIFile;
|
||||
interface nsIURI;
|
||||
interface nsIJSCID;
|
||||
interface nsIJSIID;
|
||||
interface nsIPrincipal;
|
||||
|
@ -702,12 +701,6 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||
* startup so its contents will be available the next time they're read.
|
||||
*/
|
||||
ACString readFile(in nsIFile file);
|
||||
|
||||
/*
|
||||
* Reads the given local file URL and returns its contents. This has the
|
||||
* same semantics of readFile.
|
||||
*/
|
||||
ACString readURI(in nsIURI url);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -3397,15 +3397,6 @@ nsXPCComponents_Utils::ReadFile(nsIFile* aFile, nsACString& aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPCComponents_Utils::ReadURI(nsIURI* aURI, nsACString& aResult)
|
||||
{
|
||||
NS_ENSURE_TRUE(aURI, NS_ERROR_INVALID_ARG);
|
||||
|
||||
MOZ_TRY_VAR(aResult, URLPreloader::ReadURI(aURI));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPCComponents_Utils::Now(double* aRetval)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче