| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ |
| 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ | 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #if defined(NTLM_SSPI) | 21 #if defined(NTLM_SSPI) |
| 22 #define SECURITY_WIN32 1 | 22 #define SECURITY_WIN32 1 |
| 23 #include <windows.h> | 23 #include <windows.h> |
| 24 #include <security.h> | 24 #include <security.h> |
| 25 #include "net/http/http_auth_sspi_win.h" | 25 #include "net/http/http_auth_sspi_win.h" |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 #include <string> | 28 #include <string> |
| 29 | 29 |
| 30 #include "base/strings/string16.h" | 30 #include "base/strings/string16.h" |
| 31 #include "net/base/net_export.h" |
| 31 #include "net/http/http_auth_handler.h" | 32 #include "net/http/http_auth_handler.h" |
| 32 #include "net/http/http_auth_handler_factory.h" | 33 #include "net/http/http_auth_handler_factory.h" |
| 33 | 34 |
| 34 namespace net { | 35 namespace net { |
| 35 | 36 |
| 36 class HttpAuthPreferences; | 37 class HttpAuthPreferences; |
| 37 | 38 |
| 38 // Code for handling HTTP NTLM authentication. | 39 // Code for handling HTTP NTLM authentication. |
| 39 class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { | 40 class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
| 40 public: | 41 public: |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 std::string auth_data_; | 168 std::string auth_data_; |
| 168 | 169 |
| 169 #if defined(NTLM_SSPI) | 170 #if defined(NTLM_SSPI) |
| 170 const HttpAuthPreferences* http_auth_preferences_; | 171 const HttpAuthPreferences* http_auth_preferences_; |
| 171 #endif | 172 #endif |
| 172 }; | 173 }; |
| 173 | 174 |
| 174 } // namespace net | 175 } // namespace net |
| 175 | 176 |
| 176 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ | 177 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ |
| OLD | NEW |