summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_auth_cache.h')
-rw-r--r--net/http/http_auth_cache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h
index 75b379f..707a571 100644
--- a/net/http/http_auth_cache.h
+++ b/net/http/http_auth_cache.h
@@ -10,6 +10,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
+#include "base/time/time.h"
#include "net/base/net_export.h"
#include "net/http/http_auth.h"
#include "url/gurl.h"
@@ -96,6 +97,11 @@ class NET_EXPORT_PRIVATE HttpAuthCache {
// List of paths that define the realm's protection space.
PathList paths_;
+
+ // Times the entry was created and last used (by looking up, adding a path,
+ // or updating the challenge.)
+ base::TimeTicks creation_time_;
+ base::TimeTicks last_use_time_;
};
// Prevent unbounded memory growth. These are safeguards for abuse; it is