hide ftp channel when building minotaur

This commit is contained in:
mscott%netscape.com 2003-02-22 02:22:51 +00:00
Родитель dbe7f10d3e
Коммит 47ae6e0aab
1 изменённых файлов: 12 добавлений и 2 удалений

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

@ -58,7 +58,11 @@
#include "nsIHttpChannel.h"
#include "nsIFileChannel.h"
#include "nsIWyciwygChannel.h"
#ifndef MOZ_MINOTAUR
#include "nsIFTPChannel.h"
#endif
#include "nsITransportSecurityInfo.h"
#include "nsIURI.h"
#include "nsISecurityEventSink.h"
@ -579,13 +583,19 @@ nsSecureBrowserUIImpl::OnStateChange(nsIWebProgress* aWebProgress,
nsCOMPtr<nsIFileChannel> fileRequest(do_QueryInterface(aRequest));
if (!fileRequest) {
nsCOMPtr<nsIWyciwygChannel> wyciwygRequest(do_QueryInterface(aRequest));
if (!wyciwygRequest) {
if (!wyciwygRequest)
{
#ifndef MOZ_MINOTAUR
nsCOMPtr<nsIFTPChannel> ftpRequest(do_QueryInterface(aRequest));
if (!ftpRequest) {
if (!ftpRequest)
{
#endif
PR_LOG(gSecureDocLog, PR_LOG_DEBUG,
("SecureUI:%p: OnStateChange: not relevant for sub content\n", this));
isSubDocumentRelevant = PR_FALSE;
#ifndef MOZ_MINOTAUR
}
#endif
}
}
}