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

Issue 998803003: Checks to enforce relative lifetimes for SdchManager. (Closed)

Created:
5 years, 9 months ago by Randy Smith (Not in Mondays)
Modified:
5 years, 9 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

Checks to enforce relative lifetimes for SdchManager. BUG=454198 R=mmenke@chromium.org Committed: https://crrev.com/4733facd42dbafe77042ec65e8d6f63fb0e2977a Cr-Commit-Position: refs/heads/master@{#320164}

Patch Set 1 #

Patch Set 2 : Sync'd to p320061. #

Patch Set 3 : Handle null sdch manager. #

Patch Set 4 : Updated checks according to Matt's suggestions. #

Total comments: 2

Patch Set 5 : Incorporated comments and fixed else clause. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -8 lines) Patch
M net/base/sdch_manager.h View 3 chunks +6 lines, -0 lines 0 comments Download
M net/base/sdch_manager.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M net/sdch/sdch_owner.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M net/sdch/sdch_owner.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M net/url_request/url_request_context.h View 1 2 3 4 3 chunks +13 lines, -3 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Randy Smith (Not in Mondays)
Matt: I *am* getting what look to be real try job failures in this test, ...
5 years, 9 months ago (2015-03-11 17:28:33 UTC) #1
mmenke
On 2015/03/11 17:28:33, rdsmith wrote: > Matt: I *am* getting what look to be real ...
5 years, 9 months ago (2015-03-11 17:43:10 UTC) #2
Randy Smith (Not in Mondays)
On 2015/03/11 17:43:10, mmenke wrote: > On 2015/03/11 17:28:33, rdsmith wrote: > > Matt: I ...
5 years, 9 months ago (2015-03-11 17:47:38 UTC) #3
mmenke
On 2015/03/11 17:47:38, rdsmith wrote: > On 2015/03/11 17:43:10, mmenke wrote: > > On 2015/03/11 ...
5 years, 9 months ago (2015-03-11 17:55:45 UTC) #4
mmenke
On 2015/03/11 17:55:45, mmenke wrote: > On 2015/03/11 17:47:38, rdsmith wrote: > > On 2015/03/11 ...
5 years, 9 months ago (2015-03-11 17:59:28 UTC) #5
Randy Smith (Not in Mondays)
Yeah, that's pretty close to what I came up with after fixing my braino around ...
5 years, 9 months ago (2015-03-11 20:05:20 UTC) #6
mmenke
This LGTM, just one comment. https://codereview.chromium.org/998803003/diff/60001/net/url_request/url_request_context.cc File net/url_request/url_request_context.cc (right): https://codereview.chromium.org/998803003/diff/60001/net/url_request/url_request_context.cc#newcode66 net/url_request/url_request_context.cc:66: CHECK(other->sdch_manager_.get()); If you're going ...
5 years, 9 months ago (2015-03-11 20:16:37 UTC) #7
Randy Smith (Not in Mondays)
I also added in a reset of the weak pointer if set_sdch_manager() was passed a ...
5 years, 9 months ago (2015-03-11 20:30:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/998803003/80001
5 years, 9 months ago (2015-03-11 20:31:28 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-11 22:15:21 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 22:16:32 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4733facd42dbafe77042ec65e8d6f63fb0e2977a
Cr-Commit-Position: refs/heads/master@{#320164}

Powered by Google App Engine
This is Rietveld 408576698