| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_H_ |
| 6 #define NET_HTTP_HTTP_AUTH_H_ | 6 #define NET_HTTP_HTTP_AUTH_H_ |
| 7 | 7 |
| 8 #include "base/ref_counted.h" | |
| 9 #include "net/http/http_util.h" | 8 #include "net/http/http_util.h" |
| 10 | 9 |
| 10 template <class T> class scoped_refptr; |
| 11 |
| 11 namespace net { | 12 namespace net { |
| 12 | 13 |
| 13 class HttpAuthHandler; | 14 class HttpAuthHandler; |
| 14 class HttpResponseHeaders; | 15 class HttpResponseHeaders; |
| 15 | 16 |
| 16 // Utility class for http authentication. | 17 // Utility class for http authentication. |
| 17 class HttpAuth { | 18 class HttpAuth { |
| 18 public: | 19 public: |
| 19 | 20 |
| 20 // Http authentication can be done the the proxy server, origin server, | 21 // Http authentication can be done the the proxy server, origin server, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 std::string::const_iterator value_begin_; | 155 std::string::const_iterator value_begin_; |
| 155 std::string::const_iterator value_end_; | 156 std::string::const_iterator value_end_; |
| 156 | 157 |
| 157 bool value_is_quoted_; | 158 bool value_is_quoted_; |
| 158 }; | 159 }; |
| 159 }; | 160 }; |
| 160 | 161 |
| 161 } // namespace net | 162 } // namespace net |
| 162 | 163 |
| 163 #endif // NET_HTTP_HTTP_AUTH_H_ | 164 #endif // NET_HTTP_HTTP_AUTH_H_ |
| OLD | NEW |