2003-03-24 06:59:47 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2003-03-24 06:59:47 +03:00
|
|
|
|
|
|
|
#ifndef nsHttpAuthManager_h__
|
|
|
|
#define nsHttpAuthManager_h__
|
|
|
|
|
|
|
|
#include "nsIHttpAuthManager.h"
|
|
|
|
|
2014-01-08 02:05:56 +04:00
|
|
|
namespace mozilla {
|
|
|
|
namespace net {
|
|
|
|
|
2013-09-23 07:35:52 +04:00
|
|
|
class nsHttpAuthCache;
|
|
|
|
|
2003-03-24 06:59:47 +03:00
|
|
|
class nsHttpAuthManager : public nsIHttpAuthManager {
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIHTTPAUTHMANAGER
|
|
|
|
|
2018-06-14 11:19:07 +03:00
|
|
|
nsHttpAuthManager();
|
2020-04-18 09:37:32 +03:00
|
|
|
[[nodiscard]] nsresult Init();
|
2003-03-24 06:59:47 +03:00
|
|
|
|
|
|
|
protected:
|
2018-04-30 19:46:04 +03:00
|
|
|
virtual ~nsHttpAuthManager() = default;
|
2014-06-24 20:36:44 +04:00
|
|
|
|
2003-03-24 06:59:47 +03:00
|
|
|
nsHttpAuthCache* mAuthCache;
|
2012-10-30 00:20:03 +04:00
|
|
|
nsHttpAuthCache* mPrivateAuthCache;
|
2003-03-24 06:59:47 +03:00
|
|
|
};
|
|
|
|
|
2015-07-13 18:25:42 +03:00
|
|
|
} // namespace net
|
|
|
|
} // namespace mozilla
|
2014-01-08 02:05:56 +04:00
|
|
|
|
2003-03-24 06:59:47 +03:00
|
|
|
#endif // nsHttpAuthManager_h__
|