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

Issue 2962693002: NetworkService: Destroy NetworkContexts on NetworkService teardown. (Closed)

Created:
3 years, 5 months ago by mmenke
Modified:
3 years, 5 months ago
Reviewers:
jam
CC:
chromium-reviews, asanka, jam, kinuko, darin-cc_chromium.org, rdsmith+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

NetworkService: Destroy NetworkContexts on NetworkService teardown. Also fix NetworkContexts potentially not being destroyed on connection error / consumer teardown, due to calling str::move twice on the same RequestPtr. BUG=736472 Review-Url: https://codereview.chromium.org/2962693002 Cr-Commit-Position: refs/heads/master@{#482745} Committed: https://chromium.googlesource.com/chromium/src/+/cfbf85b0c37adf3acccead282bf5c9b794ba4009

Patch Set 1 #

Patch Set 2 : Fix includes #

Patch Set 3 : Fix a couple comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -20 lines) Patch
M content/network/network_context.h View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M content/network/network_context.cc View 1 2 4 chunks +29 lines, -4 lines 0 comments Download
M content/network/network_service.h View 4 chunks +23 lines, -4 lines 0 comments Download
M content/network/network_service.cc View 1 2 2 chunks +36 lines, -11 lines 0 comments Download
A content/network/network_service_unittest.cc View 1 1 chunk +68 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
mmenke
3 years, 5 months ago (2017-06-27 17:54:25 UTC) #8
jam
lgtm
3 years, 5 months ago (2017-06-27 21:05:20 UTC) #13
mmenke
On 2017/06/27 21:05:20, jam wrote: > lgtm Thanks!
3 years, 5 months ago (2017-06-27 21:10:51 UTC) #14
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/2962693002/40001
3 years, 5 months ago (2017-06-27 21:11:18 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/cfbf85b0c37adf3acccead282bf5c9b794ba4009
3 years, 5 months ago (2017-06-27 21:15:16 UTC) #19
mmenke
3 years, 5 months ago (2017-06-27 22:18:23 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2960843005/ by mmenke@chromium.org.

The reason for reverting is: This conflicted with
https://codereview.chromium.org/2951813002/, which landed at about the same
time.  Will fix and reland..

Powered by Google App Engine
This is Rietveld 408576698