Lines 94-109
Link Here
|
94 |
#include "nsIDOMHTMLFrameElement.h" |
94 |
#include "nsIDOMHTMLFrameElement.h" |
95 |
#include "nsIDOMHTMLIFrameElement.h" |
95 |
#include "nsIDOMHTMLIFrameElement.h" |
96 |
#include "nsIDOMHTMLInputElement.h" |
96 |
#include "nsIDOMHTMLInputElement.h" |
97 |
#include "nsIDOMHTMLEmbedElement.h" |
97 |
#include "nsIDOMHTMLEmbedElement.h" |
98 |
#include "nsIDOMHTMLObjectElement.h" |
98 |
#include "nsIDOMHTMLObjectElement.h" |
99 |
#include "nsIDOMHTMLDocument.h" |
99 |
#include "nsIDOMHTMLDocument.h" |
100 |
|
100 |
|
101 |
#include "ftpCore.h" |
101 |
#include "ftpCore.h" |
|
|
102 |
#include "nsITransport.h" |
102 |
#include "nsISocketTransport.h" |
103 |
#include "nsISocketTransport.h" |
103 |
#include "nsIStringBundle.h" |
104 |
#include "nsIStringBundle.h" |
104 |
|
105 |
|
105 |
#include "nsWebBrowserPersist.h" |
106 |
#include "nsWebBrowserPersist.h" |
106 |
|
107 |
|
107 |
|
108 |
|
108 |
#define NS_SUCCESS_DONT_FIXUP NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 1) |
109 |
#define NS_SUCCESS_DONT_FIXUP NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 1) |
109 |
|
110 |
|
Lines 940-955
NS_IMETHODIMP nsWebBrowserPersist::OnSta
Link Here
|
940 |
case NS_NET_STATUS_RESOLVING_HOST: |
963 |
case NS_NET_STATUS_RESOLVING_HOST: |
941 |
case NS_NET_STATUS_BEGIN_FTP_TRANSACTION: |
964 |
case NS_NET_STATUS_BEGIN_FTP_TRANSACTION: |
942 |
case NS_NET_STATUS_END_FTP_TRANSACTION: |
965 |
case NS_NET_STATUS_END_FTP_TRANSACTION: |
943 |
case NS_NET_STATUS_CONNECTING_TO: |
966 |
case NS_NET_STATUS_CONNECTING_TO: |
944 |
case NS_NET_STATUS_CONNECTED_TO: |
967 |
case NS_NET_STATUS_CONNECTED_TO: |
945 |
case NS_NET_STATUS_SENDING_TO: |
968 |
case NS_NET_STATUS_SENDING_TO: |
946 |
case NS_NET_STATUS_RECEIVING_FROM: |
969 |
case NS_NET_STATUS_RECEIVING_FROM: |
947 |
case NS_NET_STATUS_WAITING_FOR: |
970 |
case NS_NET_STATUS_WAITING_FOR: |
|
|
971 |
case nsITransport::STATUS_READING: |
972 |
case nsITransport::STATUS_WRITING: |
948 |
break; |
973 |
break; |
949 |
|
974 |
|
950 |
default: |
975 |
default: |
951 |
// Pass other notifications (for legitimate errors) along. |
976 |
// Pass other notifications (for legitimate errors) along. |
952 |
mProgressListener->OnStatusChange(nsnull, request, status, statusArg); |
977 |
mProgressListener->OnStatusChange(nsnull, request, status, statusArg); |
953 |
break; |
978 |
break; |
954 |
} |
979 |
} |
955 |
|
980 |
|