| 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_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_H_ |
| 6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_ | 6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
| 11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 12 #include "net/http/http_auth.h" | 12 #include "net/http/http_auth.h" |
| 13 #include "net/log/net_log.h" | 13 #include "net/log/net_log_with_source.h" |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| 16 | 16 |
| 17 class HttpAuthChallengeTokenizer; | 17 class HttpAuthChallengeTokenizer; |
| 18 struct HttpRequestInfo; | 18 struct HttpRequestInfo; |
| 19 class SSLInfo; | 19 class SSLInfo; |
| 20 | 20 |
| 21 // HttpAuthHandler is the interface for the authentication schemes | 21 // HttpAuthHandler is the interface for the authentication schemes |
| 22 // (basic, digest, NTLM, Negotiate). | 22 // (basic, digest, NTLM, Negotiate). |
| 23 // HttpAuthHandler objects are typically created by an HttpAuthHandlerFactory. | 23 // HttpAuthHandler objects are typically created by an HttpAuthHandlerFactory. |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 private: | 195 private: |
| 196 void OnGenerateAuthTokenComplete(int rv); | 196 void OnGenerateAuthTokenComplete(int rv); |
| 197 void FinishGenerateAuthToken(); | 197 void FinishGenerateAuthToken(); |
| 198 | 198 |
| 199 CompletionCallback callback_; | 199 CompletionCallback callback_; |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 } // namespace net | 202 } // namespace net |
| 203 | 203 |
| 204 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_ | 204 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_ |
| OLD | NEW |