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

Issue 699693002: Introducing net::TestCompletionClosure. (Closed)

Created:
6 years, 1 month ago by gavinp
Modified:
6 years, 1 month ago
Reviewers:
jkarlin
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introducing net::TestCompletionClosure. While deflaking some SimpleIndex tests, it became clear we needed a variation net::TestCompletionCallback that worked work base::Closure rather than a net::CompletionCallback. R=jkarlin@chromium.org BUG=255775 Committed: https://crrev.com/930649e51664c0bb51d04c5cf840b2e20e054656 Cr-Commit-Position: refs/heads/master@{#302564}

Patch Set 1 #

Patch Set 2 : self reviewed #

Total comments: 4

Patch Set 3 : remediate #

Patch Set 4 : minimize & unify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -20 lines) Patch
M net/base/test_completion_callback.h View 1 2 3 7 chunks +23 lines, -4 lines 0 comments Download
M net/base/test_completion_callback.cc View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M net/base/test_completion_callback_unittest.cc View 1 2 3 2 chunks +29 lines, -2 lines 0 comments Download
M net/websockets/websocket_channel_test.cc View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
gavinp
jkarlin: This comes up in some of the deflaking we've been speaking about. WDYT?
6 years, 1 month ago (2014-11-03 18:31:05 UTC) #1
jkarlin
https://codereview.chromium.org/699693002/diff/20001/net/base/test_completion_callback.h File net/base/test_completion_callback.h (right): https://codereview.chromium.org/699693002/diff/20001/net/base/test_completion_callback.h#newcode85 net/base/test_completion_callback.h:85: ~TestClosureCallback(); virtual override https://codereview.chromium.org/699693002/diff/20001/net/base/test_completion_callback.h#newcode87 net/base/test_completion_callback.h:87: using internal::TestCompletionCallbackBaseInternal::WaitForResult; Why is ...
6 years, 1 month ago (2014-11-03 19:17:59 UTC) #2
gavinp
I found an alternative implementation of this in WebSockets, so I renamed it to work ...
6 years, 1 month ago (2014-11-03 22:54:49 UTC) #3
gavinp
One question on my mind: perhaps we could just cut and paste the implementation used ...
6 years, 1 month ago (2014-11-03 23:06:38 UTC) #4
jkarlin
lgtm
6 years, 1 month ago (2014-11-04 01:50:52 UTC) #5
jkarlin
On 2014/11/03 23:06:38, gavinp wrote: > One question on my mind: perhaps we could just ...
6 years, 1 month ago (2014-11-04 01:51:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699693002/60001
6 years, 1 month ago (2014-11-04 02:16:50 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-04 03:04:24 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 03:06:15 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/930649e51664c0bb51d04c5cf840b2e20e054656
Cr-Commit-Position: refs/heads/master@{#302564}

Powered by Google App Engine
This is Rietveld 408576698