Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: net/cookies/cookie_monster.h

Issue 1988343003: Access-time threshold unit failure in CookieMonster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alternate proposal. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/cookies/cookie_monster.cc » ('j') | net/cookies/cookie_store_unittest.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.h
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
index a88f166b43d90971f436a56d22261e9cb6b3f0e5..599f708b2199478ec1b4bd29dd1f557e449f16f5 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -140,7 +140,7 @@ class NET_EXPORT CookieMonster : public CookieStore {
// Only used during unit testing.
CookieMonster(PersistentCookieStore* store,
CookieMonsterDelegate* delegate,
- int last_access_threshold_milliseconds);
+ const base::TimeDelta& last_access_threshold);
Ryan Hamilton 2016/05/18 22:45:20 nit: base::TimeDelta is (under the covers) an int6
Ryan Sleevi 2016/05/18 23:07:07 The fact that it had to be clarified "(under the c
Scott Hess - ex-Googler 2016/05/18 23:14:29 Done.
Scott Hess - ex-Googler 2016/05/18 23:14:29 My of const& was _mostly_ because I assumed that t
Ryan Hamilton 2016/05/18 23:46:16 Hm. I'm surprised to hear you say this, because in
~CookieMonster() override;
« no previous file with comments | « no previous file | net/cookies/cookie_monster.cc » ('j') | net/cookies/cookie_store_unittest.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698