| 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_DIGEST_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ |
| 6 #define NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ | 6 #define NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 14 #include "net/http/http_auth_handler.h" | 14 #include "net/http/http_auth_handler.h" |
| 15 #include "net/http/http_auth_handler_factory.h" | 15 #include "net/http/http_auth_handler_factory.h" |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 // Code for handling http digest authentication. | 19 // Code for handling http digest authentication. |
| 20 class NET_EXPORT_PRIVATE HttpAuthHandlerDigest : public HttpAuthHandler { | 20 class NET_EXPORT_PRIVATE HttpAuthHandlerDigest : public HttpAuthHandler { |
| 21 public: | 21 public: |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // UTF-8. | 170 // UTF-8. |
| 171 std::string original_realm_; | 171 std::string original_realm_; |
| 172 | 172 |
| 173 int nonce_count_; | 173 int nonce_count_; |
| 174 const NonceGenerator* nonce_generator_; | 174 const NonceGenerator* nonce_generator_; |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 } // namespace net | 177 } // namespace net |
| 178 | 178 |
| 179 #endif // NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ | 179 #endif // NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ |
| OLD | NEW |