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

Unified Diff: net/base/cookie_monster.h

Issue 345012: Change update threshold in CookieMonster for testing from 1s to 20ms. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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/base/cookie_monster_unittest.cc » ('j') | net/base/cookie_monster_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.h
===================================================================
--- net/base/cookie_monster.h (revision 30229)
+++ net/base/cookie_monster.h (working copy)
@@ -60,11 +60,11 @@
CookieMonster(PersistentCookieStore* store);
#ifdef UNIT_TEST
- CookieMonster(int last_access_threshold_seconds)
+ CookieMonster(int last_access_threshold_milliseconds)
: initialized_(false),
store_(NULL),
- last_access_threshold_(
- base::TimeDelta::FromSeconds(last_access_threshold_seconds)) {
+ last_access_threshold_(base::TimeDelta::FromMilliseconds(
+ last_access_threshold_milliseconds)) {
SetDefaultCookieableSchemes();
}
#endif
« no previous file with comments | « no previous file | net/base/cookie_monster_unittest.cc » ('j') | net/base/cookie_monster_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698