1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/protocol/http/nsHttpAuthManager.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsHttpAuthManager_h__ 1.10 +#define nsHttpAuthManager_h__ 1.11 + 1.12 +#include "nsIHttpAuthManager.h" 1.13 + 1.14 +namespace mozilla { 1.15 +namespace net { 1.16 + 1.17 +class nsHttpAuthCache; 1.18 + 1.19 +class nsHttpAuthManager : public nsIHttpAuthManager 1.20 +{ 1.21 +public: 1.22 + NS_DECL_ISUPPORTS 1.23 + NS_DECL_NSIHTTPAUTHMANAGER 1.24 + 1.25 + nsHttpAuthManager(); 1.26 + virtual ~nsHttpAuthManager(); 1.27 + nsresult Init(); 1.28 + 1.29 +protected: 1.30 + nsHttpAuthCache *mAuthCache; 1.31 + nsHttpAuthCache *mPrivateAuthCache; 1.32 +}; 1.33 + 1.34 +}} // namespace mozilla::net 1.35 + 1.36 +#endif // nsHttpAuthManager_h__