Bug 1360723 follow-up: Rename ContentParent::AboutToLoadDocumentForChild to ContentParent::AboutToLoadHttpFtpWyciwygDocumentForChild

This commit is contained in:
Ehsan Akhgari 2017-05-01 15:43:39 -04:00
Родитель 33bad54a1c
Коммит b3c48a1104
5 изменённых файлов: 5 добавлений и 5 удалений

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

@ -5055,7 +5055,7 @@ ContentParent::ForceTabPaint(TabParent* aTabParent, uint64_t aLayerObserverEpoch
}
nsresult
ContentParent::AboutToLoadDocumentForChild(nsIChannel* aChannel)
ContentParent::AboutToLoadHttpFtpWyciwygDocumentForChild(nsIChannel* aChannel)
{
MOZ_ASSERT(aChannel);

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

@ -656,7 +656,7 @@ public:
// HTTP(S), FTP or wyciwyg channel for a content process. It is a useful
// place to start to kick off work as early as possible in response to such
// document loads.
nsresult AboutToLoadDocumentForChild(nsIChannel* aChannel);
nsresult AboutToLoadHttpFtpWyciwygDocumentForChild(nsIChannel* aChannel);
nsresult TransmitPermissionsForPrincipal(nsIPrincipal* aPrincipal);

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

@ -462,7 +462,7 @@ FTPChannelParent::OnStartRequest(nsIRequest* aRequest, nsISupports* aContext)
// performing a document load.
PContentParent* pcp = Manager()->Manager();
DebugOnly<nsresult> rv =
static_cast<ContentParent*>(pcp)->AboutToLoadDocumentForChild(chan);
static_cast<ContentParent*>(pcp)->AboutToLoadHttpFtpWyciwygDocumentForChild(chan);
MOZ_ASSERT(NS_SUCCEEDED(rv));
int64_t contentLength;

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

@ -1148,7 +1148,7 @@ HttpChannelParent::OnStartRequest(nsIRequest *aRequest, nsISupports *aContext)
PContentParent* pcp = Manager()->Manager();
MOZ_ASSERT(pcp, "We should have a manager if our IPC isn't closed");
DebugOnly<nsresult> rv =
static_cast<ContentParent*>(pcp)->AboutToLoadDocumentForChild(chan);
static_cast<ContentParent*>(pcp)->AboutToLoadHttpFtpWyciwygDocumentForChild(chan);
MOZ_ASSERT(NS_SUCCEEDED(rv));
}

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

@ -326,7 +326,7 @@ WyciwygChannelParent::OnStartRequest(nsIRequest *aRequest, nsISupports *aContext
// Send down any permissions which are relevant to this URL if we are
// performing a document load.
PContentParent* pcp = Manager()->Manager();
rv = static_cast<ContentParent*>(pcp)->AboutToLoadDocumentForChild(chan);
rv = static_cast<ContentParent*>(pcp)->AboutToLoadHttpFtpWyciwygDocumentForChild(chan);
MOZ_ASSERT(NS_SUCCEEDED(rv));
nsresult status;