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

Issue 10645005: Modify ProfileDestroyer to prevent leaks. (Closed)

Created:
8 years, 6 months ago by MAD
Modified:
8 years, 5 months ago
Reviewers:
rpetterson
CC:
chromium-reviews, willchan no longer on Chromium, kareng
Visibility:
Public.

Description

Now doesn't wait to destroy non-incognito profiles, and allow immediate destruction of incognito profiles from their parent profile. Also, doesn't wait infinitely for render process hosts to go away, uses a timer to complete destruction. And finally, adds DCHECKs to identify when render process hosts are dead soon enough. BUG=130772 TEST=Make sure Chrome exits without a crash and that Profile info properly got saved. Also make sure info doesn't leak from one incognito session to another. Tests-Missing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144251

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -11 lines) Patch
M chrome/browser/profiles/profile_destroyer.h View 1 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_destroyer.cc View 1 2 2 chunks +99 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
MAD
Is this OK with you? Thanks! BYE MAD...
8 years, 6 months ago (2012-06-22 20:06:48 UTC) #1
willchan no longer on Chromium
Sorry, I don't have time to do a detailed review. Rachel, do you mind reviewing ...
8 years, 6 months ago (2012-06-22 23:24:13 UTC) #2
MAD
Ping? If you can't review this, can you suggest another reviewer? Thanks! BYE MAD...
8 years, 6 months ago (2012-06-26 14:27:38 UTC) #3
rpetterson
Hi, mad, I'm sheriffing yesterday and today so I haven't had a chance to get ...
8 years, 6 months ago (2012-06-26 16:09:23 UTC) #4
rpetterson
This seems reasonable. A couple of clarification questions . . . http://codereview.chromium.org/10645005/diff/11007/chrome/browser/profiles/profile_destroyer.cc File chrome/browser/profiles/profile_destroyer.cc (right): ...
8 years, 6 months ago (2012-06-26 18:35:34 UTC) #5
MAD
Thanks... Answers to questions below, and update to comments on the way... BYE MAD http://codereview.chromium.org/10645005/diff/11007/chrome/browser/profiles/profile_destroyer.cc ...
8 years, 6 months ago (2012-06-26 18:53:20 UTC) #6
rpetterson
Got it. LGTM On 2012/06/26 18:53:20, MAD wrote: > Thanks... > > Answers to questions ...
8 years, 6 months ago (2012-06-26 18:54:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10645005/29001
8 years, 6 months ago (2012-06-26 18:55:39 UTC) #8
commit-bot: I haz the power
8 years, 6 months ago (2012-06-26 20:09:17 UTC) #9
Change committed as 144251

Powered by Google App Engine
This is Rietveld 408576698