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

Issue 2963823002: 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, mmenke
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. This is a reland of https://codereview.chromium.org/2962693002, which was reverted in https://codereview.chromium.org/2960843005/ due to a conflict with https://codereview.chromium.org/2951813002/. The solution was to add a base::test::ScopedTaskEnvironment to the tests. BUG=736472 Review-Url: https://codereview.chromium.org/2963823002 Cr-Commit-Position: refs/heads/master@{#483225} Committed: https://chromium.googlesource.com/chromium/src/+/502a6133a5974683b23edab936d6b480dcd7684e

Patch Set 1 : Original CL #

Patch Set 2 : Add ScopedTaskEnvironment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -20 lines) Patch
M content/network/network_context.h View 2 chunks +12 lines, -1 line 0 comments Download
M content/network/network_context.cc View 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 2 chunks +36 lines, -11 lines 0 comments Download
A content/network/network_service_unittest.cc View 1 1 chunk +71 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (18 generated)
mmenke
First patch set is the original CL, second is with the fix. The failure was ...
3 years, 5 months ago (2017-06-28 22:26:34 UTC) #16
jam
lgtm
3 years, 5 months ago (2017-06-29 00:16:58 UTC) #17
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/2963823002/60001
3 years, 5 months ago (2017-06-29 00:28:03 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 00:36:48 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/502a6133a5974683b23edab936d6...

Powered by Google App Engine
This is Rietveld 408576698