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

Issue 1142843002: net: Make TestCompletionCallback use RunLoops. (Closed)

Created:
5 years, 7 months ago by mmenke
Modified:
5 years, 7 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

net: Make TestCompletionCallback use RunLoops. This is more robust against re-entrantly run MessageLoops. BUG=none Committed: https://crrev.com/31c4e0a19d35dd3c53b764bf2c6b42c25b2eaccf Cr-Commit-Position: refs/heads/master@{#330825}

Patch Set 1 #

Patch Set 2 : Update docs #

Patch Set 3 : have_result_ -> private #

Patch Set 4 : Fix tests. :( #

Patch Set 5 : Reuploading to re-run tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -17 lines) Patch
M net/base/test_completion_callback.h View 1 2 4 chunks +15 lines, -7 lines 0 comments Download
M net/base/test_completion_callback.cc View 1 2 3 2 chunks +14 lines, -10 lines 2 comments Download

Messages

Total messages: 7 (2 generated)
mmenke
This was inspired by your socket cleanups, and thinking about switching stuff over from using ...
5 years, 7 months ago (2015-05-20 17:37:05 UTC) #2
Ryan Hamilton
LGTM Thanks for fixing this! https://codereview.chromium.org/1142843002/diff/80001/net/base/test_completion_callback.cc File net/base/test_completion_callback.cc (right): https://codereview.chromium.org/1142843002/diff/80001/net/base/test_completion_callback.cc#newcode32 net/base/test_completion_callback.cc:32: // TODO(mmenke): We really ...
5 years, 7 months ago (2015-05-20 22:43:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1142843002/80001
5 years, 7 months ago (2015-05-20 22:50:06 UTC) #5
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-20 22:57:32 UTC) #6
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 22:59:21 UTC) #7
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/31c4e0a19d35dd3c53b764bf2c6b42c25b2eaccf
Cr-Commit-Position: refs/heads/master@{#330825}

Powered by Google App Engine
This is Rietveld 408576698