| 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_NEGOTIATE_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 
| 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 | 9 | 
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" | 
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 76                           int digest_nonce_count, | 76                           int digest_nonce_count, | 
| 77                           const BoundNetLog& net_log, | 77                           const BoundNetLog& net_log, | 
| 78                           scoped_ptr<HttpAuthHandler>* handler) override; | 78                           scoped_ptr<HttpAuthHandler>* handler) override; | 
| 79 | 79 | 
| 80    private: | 80    private: | 
| 81     bool disable_cname_lookup_; | 81     bool disable_cname_lookup_; | 
| 82     bool use_port_; | 82     bool use_port_; | 
| 83     HostResolver* resolver_; | 83     HostResolver* resolver_; | 
| 84 #if defined(OS_WIN) | 84 #if defined(OS_WIN) | 
| 85     ULONG max_token_length_; | 85     ULONG max_token_length_; | 
| 86     bool first_creation_; |  | 
| 87 #endif | 86 #endif | 
| 88     bool is_unsupported_; | 87     bool is_unsupported_; | 
| 89     scoped_ptr<AuthLibrary> auth_library_; | 88     scoped_ptr<AuthLibrary> auth_library_; | 
| 90   }; | 89   }; | 
| 91 | 90 | 
| 92   HttpAuthHandlerNegotiate(AuthLibrary* sspi_library, | 91   HttpAuthHandlerNegotiate(AuthLibrary* sspi_library, | 
| 93 #if defined(OS_WIN) | 92 #if defined(OS_WIN) | 
| 94                            ULONG max_token_length, | 93                            ULONG max_token_length, | 
| 95 #endif | 94 #endif | 
| 96                            URLSecurityManager* url_security_manager, | 95                            URLSecurityManager* url_security_manager, | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 158   std::string* auth_token_; | 157   std::string* auth_token_; | 
| 159 | 158 | 
| 160   State next_state_; | 159   State next_state_; | 
| 161 | 160 | 
| 162   const URLSecurityManager* url_security_manager_; | 161   const URLSecurityManager* url_security_manager_; | 
| 163 }; | 162 }; | 
| 164 | 163 | 
| 165 }  // namespace net | 164 }  // namespace net | 
| 166 | 165 | 
| 167 #endif  // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 166 #endif  // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 
| OLD | NEW | 
|---|