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

Issue 2043863002: Use WeakPtrFactory in net::BidirectionalStream when posting task (Closed)

Created:
4 years, 6 months ago by xunjieli
Modified:
4 years, 6 months ago
Reviewers:
mmenke
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

Use WeakPtrFactory in net::BidirectionalStream when posting task This CL uses WeakPtrFactory to post task in net::BidirectionalStream. BUG=606394 Committed: https://crrev.com/3b6ac70b2c8b7085bade85f46577677a45732005 Cr-Commit-Position: refs/heads/master@{#398132}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Matt's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -10 lines) Patch
M net/http/bidirectional_stream.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M net/http/bidirectional_stream.cc View 1 8 chunks +15 lines, -10 lines 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
xunjieli
Hi Matt, Sorry for burdening you yet again with another CL review! I wonder if ...
4 years, 6 months ago (2016-06-06 19:15:33 UTC) #2
mmenke
On 2016/06/06 19:15:33, xunjieli wrote: > Hi Matt, > > Sorry for burdening you yet ...
4 years, 6 months ago (2016-06-06 19:27:53 UTC) #3
xunjieli
On 2016/06/06 19:27:53, mmenke wrote: > On 2016/06/06 19:15:33, xunjieli wrote: > > Hi Matt, ...
4 years, 6 months ago (2016-06-06 19:29:24 UTC) #4
mmenke
LGTM https://codereview.chromium.org/2043863002/diff/1/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2043863002/diff/1/net/http/bidirectional_stream.cc#newcode109 net/http/bidirectional_stream.cc:109: weak_factory_.GetWeakPtr(), ERR_DISALLOWED_URL_SCHEME)); You may want a test for ...
4 years, 6 months ago (2016-06-06 19:34:00 UTC) #5
xunjieli
Thanks a lot for the review! This is very helpful. https://codereview.chromium.org/2043863002/diff/1/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2043863002/diff/1/net/http/bidirectional_stream.cc#newcode109 ...
4 years, 6 months ago (2016-06-06 19:52:59 UTC) #7
mmenke
The new test LGTM
4 years, 6 months ago (2016-06-06 19:58:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043863002/20001
4 years, 6 months ago (2016-06-06 19:59:44 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-06 21:36:43 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 21:38:05 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b6ac70b2c8b7085bade85f46577677a45732005
Cr-Commit-Position: refs/heads/master@{#398132}

Powered by Google App Engine
This is Rietveld 408576698