Bug 1459528: Remove nsXULPrototypeDocument::{Set,Get}HeaderData. r=heycam

MozReview-Commit-ID: BMZNOyBG4RC
This commit is contained in:
Emilio Cobos Álvarez 2018-05-07 04:04:32 +02:00
Родитель 2193a0de05
Коммит 6553891e16
2 изменённых файлов: 0 добавлений и 25 удалений

Просмотреть файл

@ -438,24 +438,6 @@ nsXULPrototypeDocument::GetStyleSheetReferences() const
return mStyleSheetReferences;
}
NS_IMETHODIMP
nsXULPrototypeDocument::GetHeaderData(nsAtom* aField, nsAString& aData) const
{
// XXX Not implemented
aData.Truncate();
return NS_OK;
}
NS_IMETHODIMP
nsXULPrototypeDocument::SetHeaderData(nsAtom* aField, const nsAString& aData)
{
// XXX Not implemented
return NS_OK;
}
nsIPrincipal*
nsXULPrototypeDocument::DocumentPrincipal()
{

Просмотреть файл

@ -82,13 +82,6 @@ public:
void AddStyleSheetReference(nsIURI* aStyleSheet);
const nsCOMArray<nsIURI>& GetStyleSheetReferences() const;
/**
* Access HTTP header data.
* @note Not implemented.
*/
NS_IMETHOD GetHeaderData(nsAtom* aField, nsAString& aData) const;
NS_IMETHOD SetHeaderData(nsAtom* aField, const nsAString& aData);
nsIPrincipal *DocumentPrincipal();
void SetDocumentPrincipal(nsIPrincipal *aPrincipal);