Chromium Code Reviews| Index: net/http/http_auth_cache.h |
| diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h |
| index 9190e42c50899951eac307e3afa674cdb7175878..88a33234dd12f3ca6647cc1a59207be81a47dc38 100644 |
| --- a/net/http/http_auth_cache.h |
| +++ b/net/http/http_auth_cache.h |
| @@ -162,8 +162,8 @@ class NET_EXPORT_PRIVATE HttpAuthCache { |
| HttpAuth::Scheme scheme, |
| const AuthCredentials& credentials); |
| - // Clears the cache. |
| - void Clear(); |
| + // Clears cache entries created within |duration| of base::TimeTicks::Now(). |
| + void Clear(base::TimeDelta duration); |
|
mmenke
2016/07/29 14:08:48
This method name is unclear. Maybe make it take a
|
| // Updates a stale digest entry on server |origin| for realm |realm| and |
| // scheme |scheme|. The cached auth challenge is replaced with |