summaryrefslogtreecommitdiffstats
path: root/mailnews/compose/src/nsSmtpServer.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 17:55:10 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 17:55:10 -0500
commit58a7cff161d1af1631b67c533d59c39b0adcabda (patch)
tree80c0401d6226fb57d80360caf2add54f125fd51e /mailnews/compose/src/nsSmtpServer.h
parent74e5265d3921f18c7d626004e898837adb466d0c (diff)
downloadUXP-58a7cff161d1af1631b67c533d59c39b0adcabda.tar
UXP-58a7cff161d1af1631b67c533d59c39b0adcabda.tar.gz
UXP-58a7cff161d1af1631b67c533d59c39b0adcabda.tar.lz
UXP-58a7cff161d1af1631b67c533d59c39b0adcabda.tar.xz
UXP-58a7cff161d1af1631b67c533d59c39b0adcabda.zip
Bug 1461106 - Remove SMTP password from cache when deleted from password manager to prevent stale connection attempts.
Tag #1273
Diffstat (limited to 'mailnews/compose/src/nsSmtpServer.h')
-rw-r--r--mailnews/compose/src/nsSmtpServer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mailnews/compose/src/nsSmtpServer.h b/mailnews/compose/src/nsSmtpServer.h
index cbd7dba67..4473d7af8 100644
--- a/mailnews/compose/src/nsSmtpServer.h
+++ b/mailnews/compose/src/nsSmtpServer.h
@@ -11,15 +11,19 @@
#include "nsISmtpServer.h"
#include "nsIPrefBranch.h"
#include "nsWeakReference.h"
+#include "nsIObserver.h"
class nsSmtpServer : public nsISmtpServer,
- public nsSupportsWeakReference
+ public nsSupportsWeakReference,
+ public nsIObserver
{
public:
nsSmtpServer();
+ nsresult Init();
NS_DECL_ISUPPORTS
NS_DECL_NSISMTPSERVER
+ NS_DECL_NSIOBSERVER
private:
virtual ~nsSmtpServer();