зеркало из https://github.com/mozilla/pjs.git
bug 404726: Addon compatibility check gives many alerts (xpinstall part).
r+sr=dveditz
This commit is contained in:
Родитель
2365868a40
Коммит
0281ec357c
|
@ -117,17 +117,22 @@ nsXPInstallManager::~nsXPInstallManager()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_THREADSAFE_ISUPPORTS10(nsXPInstallManager,
|
NS_INTERFACE_MAP_BEGIN(nsXPInstallManager)
|
||||||
nsIXPIDialogService,
|
NS_INTERFACE_MAP_ENTRY(nsIXPIDialogService)
|
||||||
nsIXPInstallManager,
|
NS_INTERFACE_MAP_ENTRY(nsIXPInstallManager)
|
||||||
nsIObserver,
|
NS_INTERFACE_MAP_ENTRY(nsIObserver)
|
||||||
nsIStreamListener,
|
NS_INTERFACE_MAP_ENTRY(nsIStreamListener)
|
||||||
nsIProgressEventSink,
|
NS_INTERFACE_MAP_ENTRY(nsIProgressEventSink)
|
||||||
nsIInterfaceRequestor,
|
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
|
||||||
nsPICertNotification,
|
NS_INTERFACE_MAP_ENTRY(nsPICertNotification)
|
||||||
nsIBadCertListener2,
|
NS_INTERFACE_MAP_ENTRY(nsIBadCertListener2)
|
||||||
nsIChannelEventSink,
|
NS_INTERFACE_MAP_ENTRY(nsISSLErrorListener)
|
||||||
nsISupportsWeakReference)
|
NS_INTERFACE_MAP_ENTRY(nsIChannelEventSink)
|
||||||
|
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsISupportsWeakReference)
|
||||||
|
NS_INTERFACE_MAP_END
|
||||||
|
|
||||||
|
NS_IMPL_ADDREF(nsXPInstallManager)
|
||||||
|
NS_IMPL_RELEASE(nsXPInstallManager)
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPInstallManager::InitManagerFromChrome(const PRUnichar **aURLs,
|
nsXPInstallManager::InitManagerFromChrome(const PRUnichar **aURLs,
|
||||||
|
@ -1308,6 +1313,16 @@ nsXPInstallManager::NotifyCertProblem(nsIInterfaceRequestor *socketInfo,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// nsISSLErrorListener methods
|
||||||
|
NS_IMETHODIMP
|
||||||
|
nsXPInstallManager::NotifySSLError(nsIInterfaceRequestor *socketInfo,
|
||||||
|
PRInt32 error,
|
||||||
|
const nsACString &targetSite,
|
||||||
|
PRBool *_retval)
|
||||||
|
{
|
||||||
|
*_retval = PR_TRUE;
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPInstallManager::OnCertAvailable(nsIURI *aURI,
|
nsXPInstallManager::OnCertAvailable(nsIURI *aURI,
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
#include "nsIDOMWindowInternal.h"
|
#include "nsIDOMWindowInternal.h"
|
||||||
#include "nsIObserver.h"
|
#include "nsIObserver.h"
|
||||||
#include "nsIBadCertListener2.h"
|
#include "nsIBadCertListener2.h"
|
||||||
|
#include "nsISSLErrorListener.h"
|
||||||
#include "nsIChannelEventSink.h"
|
#include "nsIChannelEventSink.h"
|
||||||
#include "nsIZipReader.h"
|
#include "nsIZipReader.h"
|
||||||
#include "nsIXPIInstallInfo.h"
|
#include "nsIXPIInstallInfo.h"
|
||||||
|
@ -85,6 +86,7 @@ class nsXPInstallManager : public nsIXPIDialogService,
|
||||||
public nsIInterfaceRequestor,
|
public nsIInterfaceRequestor,
|
||||||
public nsPICertNotification,
|
public nsPICertNotification,
|
||||||
public nsIBadCertListener2,
|
public nsIBadCertListener2,
|
||||||
|
public nsISSLErrorListener,
|
||||||
public nsIChannelEventSink,
|
public nsIChannelEventSink,
|
||||||
public nsSupportsWeakReference
|
public nsSupportsWeakReference
|
||||||
{
|
{
|
||||||
|
@ -102,6 +104,7 @@ class nsXPInstallManager : public nsIXPIDialogService,
|
||||||
NS_DECL_NSIINTERFACEREQUESTOR
|
NS_DECL_NSIINTERFACEREQUESTOR
|
||||||
NS_DECL_NSPICERTNOTIFICATION
|
NS_DECL_NSPICERTNOTIFICATION
|
||||||
NS_DECL_NSIBADCERTLISTENER2
|
NS_DECL_NSIBADCERTLISTENER2
|
||||||
|
NS_DECL_NSISSLERRORLISTENER
|
||||||
NS_DECL_NSICHANNELEVENTSINK
|
NS_DECL_NSICHANNELEVENTSINK
|
||||||
|
|
||||||
NS_IMETHOD InitManager(nsIDOMWindowInternal* aParentWindow, nsXPITriggerInfo* aTrigger, PRUint32 aChromeType );
|
NS_IMETHOD InitManager(nsIDOMWindowInternal* aParentWindow, nsXPITriggerInfo* aTrigger, PRUint32 aChromeType );
|
||||||
|
|
Загрузка…
Ссылка в новой задаче