From 74e5265d3921f18c7d626004e898837adb466d0c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 10 Nov 2019 17:53:59 -0500 Subject: Bug 516464 - Remove passwords from cache when password manager contents are changed to prevent stale password attempts. Tag #1273 --- mailnews/base/util/nsMsgIncomingServer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mailnews/base/util/nsMsgIncomingServer.h') diff --git a/mailnews/base/util/nsMsgIncomingServer.h b/mailnews/base/util/nsMsgIncomingServer.h index 0c4219cd2..d19bdc930 100644 --- a/mailnews/base/util/nsMsgIncomingServer.h +++ b/mailnews/base/util/nsMsgIncomingServer.h @@ -21,6 +21,7 @@ #include "nsIMsgFilterPlugin.h" #include "nsDataHashtable.h" #include "nsIMsgPluggableStore.h" +#include "nsIObserver.h" class nsIMsgFolderCache; class nsIMsgProtocolInfo; @@ -36,13 +37,16 @@ class nsIMsgProtocolInfo; #define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT class NS_MSG_BASE nsMsgIncomingServer : public nsIMsgIncomingServer, - public nsSupportsWeakReference + public nsSupportsWeakReference, + public nsIObserver { public: nsMsgIncomingServer(); + nsresult Init(); NS_DECL_THREADSAFE_ISUPPORTS NS_DECL_NSIMSGINCOMINGSERVER + NS_DECL_NSIOBSERVER protected: virtual ~nsMsgIncomingServer(); -- cgit v1.2.3