зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1360723 follow-up: Rename ContentParent::AboutToLoadDocumentForChild to ContentParent::AboutToLoadHttpFtpWyciwygDocumentForChild
This commit is contained in:
Родитель
33bad54a1c
Коммит
b3c48a1104
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче