Bug 780618 - Fix broken nsNetError.h references in comm-central; r=mconley
This commit is contained in:
Родитель
2e5882936e
Коммит
f65b0c622c
|
@ -44,7 +44,7 @@ function checkErrorCode(err, rcBits, maskBits) {
|
|||
|
||||
// Cannot perform operation, because user is offline.
|
||||
// The following error codes have been adopted from
|
||||
// netwerk/base/public/nsNetError.h
|
||||
// xpcom/base/nsError.h
|
||||
// and ought to be defined in IDL. xxx todo
|
||||
|
||||
// The requested action could not be completed while the networking
|
||||
|
|
|
@ -98,7 +98,7 @@ ICALContentHandler.prototype = {
|
|||
|
||||
// Cancel the request ...
|
||||
let uri = channel.URI;
|
||||
const NS_BINDING_ABORTED = 0x804b0002 // from nsNetError.h
|
||||
const NS_BINDING_ABORTED = 0x804b0002 // from nsError.h
|
||||
aRequest.cancel(NS_BINDING_ABORTED);
|
||||
|
||||
// ... Subscribe to the uri ...
|
||||
|
|
|
@ -49,7 +49,7 @@ const EXPORTED_SYMBOLS = ["Socket"];
|
|||
const {classes: Cc, interfaces: Ci, results: Cr, utils: Cu} = Components;
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
// Network errors see: netwerk/base/public/nsNetError.h
|
||||
// Network errors see: xpcom/base/nsError.h
|
||||
const NS_ERROR_MODULE_NETWORK = 2152398848;
|
||||
const NS_ERROR_CONNECTION_REFUSED = NS_ERROR_MODULE_NETWORK + 13;
|
||||
const NS_ERROR_NET_TIMEOUT = NS_ERROR_MODULE_NETWORK + 14;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "nsIDNSService.h"
|
||||
#include "nsIDNSRecord.h"
|
||||
#include "nsIRequestObserver.h"
|
||||
#include "nsNetError.h"
|
||||
#include "nsError.h"
|
||||
#include "nsLDAPOperation.h"
|
||||
#include "nsILDAPErrors.h"
|
||||
#include "nsIClassInfoImpl.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "nsIStringBundle.h"
|
||||
#include "nsXPCOM.h"
|
||||
#include "nsISupportsPrimitives.h"
|
||||
#include "nsNetError.h"
|
||||
#include "nsError.h"
|
||||
#include "nsMemory.h"
|
||||
#include "nsILDAPErrors.h"
|
||||
#include "nsMsgUtils.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "nsXPCOM.h"
|
||||
#include "nsISupportsPrimitives.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsNetError.h"
|
||||
#include "nsError.h"
|
||||
#include "nsIWindowWatcher.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#include "nsILoadGroup.h"
|
||||
#include "nsMsgSendReport.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsNetError.h"
|
||||
#include "nsError.h"
|
||||
#include "nsMsgUtils.h"
|
||||
#include "nsIMsgMdnGenerator.h"
|
||||
#include "nsISmtpServer.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "nsIMsgCompose.h"
|
||||
#include "nsMsgCompCID.h"
|
||||
#include "nsMsgPrompts.h"
|
||||
#include "nsNetError.h"
|
||||
#include "nsError.h"
|
||||
#include "nsComposeStrings.h"
|
||||
#include "nsIStringBundle.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче