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
|
|
|
|
|
|
|
|
nsHttpAuthManager();
|
|
|
|
virtual ~nsHttpAuthManager();
|
|
|
|
nsresult Init();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
nsHttpAuthCache *mAuthCache;
|
2012-10-30 00:20:03 +04:00
|
|
|
nsHttpAuthCache *mPrivateAuthCache;
|
2003-03-24 06:59:47 +03:00
|
|
|
};
|
|
|
|
|
2014-01-08 02:05:56 +04:00
|
|
|
}} // namespace mozilla::net
|
|
|
|
|
2003-03-24 06:59:47 +03:00
|
|
|
#endif // nsHttpAuthManager_h__
|