1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/protocol/http/nsHttpNTLMAuth.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef nsHttpNTLMAuth_h__ 1.9 +#define nsHttpNTLMAuth_h__ 1.10 + 1.11 +#include "nsIHttpAuthenticator.h" 1.12 + 1.13 +namespace mozilla { namespace net { 1.14 + 1.15 +class nsHttpNTLMAuth : public nsIHttpAuthenticator 1.16 +{ 1.17 +public: 1.18 + NS_DECL_ISUPPORTS 1.19 + NS_DECL_NSIHTTPAUTHENTICATOR 1.20 + 1.21 + nsHttpNTLMAuth() {} 1.22 + virtual ~nsHttpNTLMAuth() {} 1.23 + 1.24 +private: 1.25 + // This flag indicates whether we are using the native NTLM implementation 1.26 + // or the internal one. 1.27 + bool mUseNative; 1.28 +}; 1.29 + 1.30 +}} // namespace mozilla::net 1.31 + 1.32 +#endif // !nsHttpNTLMAuth_h__