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 2794963002: Check callback is run in QuicStreamFactory::Job (Closed)

Created:
3 years, 8 months ago by xunjieli
Modified:
3 years, 8 months ago
Reviewers:
Zhongyi Shi
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check callback is run in QuicStreamFactory::Job This CL adds a DCHECK in QuicStreamFactory::Job's destructor to make sure |callback_| has been run. This CL clears two related classes's callback instances so we only run them once. BUG=704949 Review-Url: https://codereview.chromium.org/2794963002 Cr-Commit-Position: refs/heads/master@{#461753} Committed: https://chromium.googlesource.com/chromium/src/+/53b0eeafd14a0a5699ff8850df41ddef696caddc

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 8

Patch Set 3 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -18 lines) Patch
M net/http/http_stream_factory_impl_job_controller_unittest.cc View 1 2 10 chunks +39 lines, -13 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 5 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (22 generated)
xunjieli
3 years, 8 months ago (2017-04-03 18:16:59 UTC) #9
Zhongyi Shi
Looks good, just some nits. Thanks for clean this up! https://codereview.chromium.org/2794963002/diff/20001/net/http/http_stream_factory_impl_job_controller_unittest.cc File net/http/http_stream_factory_impl_job_controller_unittest.cc (right): https://codereview.chromium.org/2794963002/diff/20001/net/http/http_stream_factory_impl_job_controller_unittest.cc#newcode957 ...
3 years, 8 months ago (2017-04-03 22:55:40 UTC) #13
xunjieli
Thanks, PTAL. https://codereview.chromium.org/2794963002/diff/20001/net/http/http_stream_factory_impl_job_controller_unittest.cc File net/http/http_stream_factory_impl_job_controller_unittest.cc (right): https://codereview.chromium.org/2794963002/diff/20001/net/http/http_stream_factory_impl_job_controller_unittest.cc#newcode957 net/http/http_stream_factory_impl_job_controller_unittest.cc:957: session_deps_.host_resolver->ResolveAllPending(); On 2017/04/03 22:55:39, Zhongyi Shi wrote: ...
3 years, 8 months ago (2017-04-04 15:27:29 UTC) #16
Zhongyi Shi
lgtm! Thanks!
3 years, 8 months ago (2017-04-04 16:38:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2794963002/60001
3 years, 8 months ago (2017-04-04 16:41:43 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 16:56:41 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/53b0eeafd14a0a5699ff8850df41...

Powered by Google App Engine
This is Rietveld 408576698