| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CACHE_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_CACHE_H_ |
| 6 #define NET_HTTP_HTTP_AUTH_CACHE_H_ | 6 #define NET_HTTP_HTTP_AUTH_CACHE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <list> | 9 #include <list> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const GURL& origin() const { | 115 const GURL& origin() const { |
| 116 return origin_; | 116 return origin_; |
| 117 } | 117 } |
| 118 | 118 |
| 119 // The case-sensitive realm string of the challenge. | 119 // The case-sensitive realm string of the challenge. |
| 120 const std::string realm() const { | 120 const std::string realm() const { |
| 121 return realm_; | 121 return realm_; |
| 122 } | 122 } |
| 123 | 123 |
| 124 // The authentication scheme of the challenge. | 124 // The authentication scheme of the challenge. |
| 125 const HttpAuth::Scheme scheme() const { | 125 HttpAuth::Scheme scheme() const { |
| 126 return scheme_; | 126 return scheme_; |
| 127 } | 127 } |
| 128 | 128 |
| 129 // The authentication challenge. | 129 // The authentication challenge. |
| 130 const std::string auth_challenge() const { | 130 const std::string auth_challenge() const { |
| 131 return auth_challenge_; | 131 return auth_challenge_; |
| 132 } | 132 } |
| 133 | 133 |
| 134 // The login username. | 134 // The login username. |
| 135 const string16 username() const { | 135 const string16 username() const { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 175 |
| 176 int nonce_count_; | 176 int nonce_count_; |
| 177 | 177 |
| 178 // List of paths that define the realm's protection space. | 178 // List of paths that define the realm's protection space. |
| 179 PathList paths_; | 179 PathList paths_; |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace net | 182 } // namespace net |
| 183 | 183 |
| 184 #endif // NET_HTTP_HTTP_AUTH_CACHE_H_ | 184 #endif // NET_HTTP_HTTP_AUTH_CACHE_H_ |
| OLD | NEW |