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

Issue 9187017: Don't pump the message loop in DeleteWhileInProgress at all. (Closed)

Created:
8 years, 11 months ago by Reid Kleckner
Modified:
8 years, 11 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Don't pump the message loop in DeleteWhileInProgress at all. This avoids a race condition where the request completes before the message loop finishes its pending tasks. The posted task starts the next experiment, and so the assertion that only 1 experiment should be started fails. R=eroman@chromium.org BUG=88221 TEST=ConnectionTesterTest.DeleteWhileInProgress under drmemory Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117314

Patch Set 1 #

Patch Set 2 : Don't include windows.h and reword the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/net/connection_tester_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Reid Kleckner
PTAL
8 years, 11 months ago (2012-01-11 20:26:02 UTC) #1
eroman
lgtm
8 years, 11 months ago (2012-01-11 21:08:56 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9187017/2001
8 years, 11 months ago (2012-01-11 21:13:09 UTC) #3
commit-bot: I haz the power
8 years, 11 months ago (2012-01-11 22:56:53 UTC) #4
Change committed as 117314

Powered by Google App Engine
This is Rietveld 408576698