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

Issue 345012: Change update threshold in CookieMonster for testing from 1s to 20ms. (Closed)

Created:
11 years, 1 month ago by vandebo (ex-Chrome)
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting, ananta
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Change update threshold in CookieMonster for testing from 1s to 20ms to speedup test. BUG=24687 TEST=unit tests still pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30385

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M net/base/cookie_monster.h View 1 chunk +3 lines, -3 lines 0 comments Download
M net/base/cookie_monster_unittest.cc View 4 chunks +6 lines, -6 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
vandebo (ex-Chrome)
11 years, 1 month ago (2009-10-28 18:48:28 UTC) #1
Roger Tawa OOO till Jul 10th
Thanks for looking into this. How much does this change affect the running time of ...
11 years, 1 month ago (2009-10-28 19:11:03 UTC) #2
vandebo (ex-Chrome)
On 2009/10/28 19:11:03, Roger Tawa wrote: > Thanks for looking into this. How much does ...
11 years, 1 month ago (2009-10-28 19:37:30 UTC) #3
Roger Tawa OOO till Jul 10th
The bug id in the comments of this CL mentions BrowserEventExtensionTest, but this CL only ...
11 years, 1 month ago (2009-10-28 19:44:56 UTC) #4
vandebo (ex-Chrome)
Yea, I'm working on the assumption that there was a copy/paste mistake - See the ...
11 years, 1 month ago (2009-10-28 19:53:27 UTC) #5
(NOT FOR CODE REVIEWS)
OK, makes lots of sense. I am not the right reviewer for this change. Thanks, ...
11 years, 1 month ago (2009-10-28 20:09:31 UTC) #6
vandebo (ex-Chrome)
11 years, 1 month ago (2009-10-28 20:18:09 UTC) #7
Paweł Hajdan Jr.
I think pkasting is the right reviewer.
11 years, 1 month ago (2009-10-28 20:38:09 UTC) #8
Peter Kasting
11 years, 1 month ago (2009-10-28 20:43:42 UTC) #9
LGTM

http://codereview.chromium.org/345012/diff/1/2
File net/base/cookie_monster_unittest.cc (right):

http://codereview.chromium.org/345012/diff/1/2#newcode836
Line 836: PlatformThread::Sleep(kLastAccessThresholdMilliseconds + 10);
For safety due to Windows' low timer resolution, I'd make this "+ 20" rather
than "+ 10".  (2 places)

Powered by Google App Engine
This is Rietveld 408576698