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 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 #endif | 60 #endif |
61 | 61 |
62 // HttpAuthHandlerFactory overrides | 62 // HttpAuthHandlerFactory overrides |
63 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge, | 63 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge, |
64 HttpAuth::Target target, | 64 HttpAuth::Target target, |
65 const SSLInfo& ssl_info, | 65 const SSLInfo& ssl_info, |
66 const GURL& origin, | 66 const GURL& origin, |
67 CreateReason reason, | 67 CreateReason reason, |
68 int digest_nonce_count, | 68 int digest_nonce_count, |
69 const BoundNetLog& net_log, | 69 const NetLogWithSource& net_log, |
70 std::unique_ptr<HttpAuthHandler>* handler) override; | 70 std::unique_ptr<HttpAuthHandler>* handler) override; |
71 | 71 |
72 private: | 72 private: |
73 HostResolver* resolver_; | 73 HostResolver* resolver_; |
74 #if defined(OS_WIN) | 74 #if defined(OS_WIN) |
75 ULONG max_token_length_; | 75 ULONG max_token_length_; |
76 #endif | 76 #endif |
77 bool is_unsupported_; | 77 bool is_unsupported_; |
78 #if !defined(OS_ANDROID) | 78 #if !defined(OS_ANDROID) |
79 std::unique_ptr<AuthLibrary> auth_library_; | 79 std::unique_ptr<AuthLibrary> auth_library_; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 std::string* auth_token_; | 150 std::string* auth_token_; |
151 | 151 |
152 State next_state_; | 152 State next_state_; |
153 | 153 |
154 const HttpAuthPreferences* http_auth_preferences_; | 154 const HttpAuthPreferences* http_auth_preferences_; |
155 }; | 155 }; |
156 | 156 |
157 } // namespace net | 157 } // namespace net |
158 | 158 |
159 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ | 159 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_H_ |
OLD | NEW |