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

Issue 10542151: Move the window destruction and registration out of cleanup and into BrowserProcessImpl::EndSession… (Closed)

Created:
8 years, 6 months ago by rpetterson
Modified:
8 years, 6 months ago
Reviewers:
jam, Jói
CC:
chromium-reviews
Visibility:
Public.

Description

Move the window destruction and registration out of cleanup and into BrowserProcessImpl::EndSession to make sure it happens after profiles are written out. BUG=127607 TEST=Run on slow computer, open three or more profiles, exit from wrench menu, immediately open chrome again. There should be no reports of profile corruption and logs should show that profile writing is not occuring after second chrome starts. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142682

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M chrome/browser/process_singleton_win.cc View 1 2 3 4 5 2 chunks +8 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Jói
This seems close to ready, see comments below. Cheers, Jói http://codereview.chromium.org/10542151/diff/1/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/10542151/diff/1/chrome/browser/browser_process_impl.cc#newcode353 ...
8 years, 6 months ago (2012-06-14 10:32:49 UTC) #1
rpetterson
So this does fix the issue in the bug. However, one issue I'm seeing now ...
8 years, 6 months ago (2012-06-14 22:12:50 UTC) #2
rpetterson
Adding jam@ since he's been assisting and may have an idea about the new issue ...
8 years, 6 months ago (2012-06-14 23:59:28 UTC) #3
Jói
LGTM I'm not 100% sure but perhaps the second Chrome instance simply notices the original ...
8 years, 6 months ago (2012-06-15 10:04:57 UTC) #4
jam
I agree with Joi that this behavior is fine. The first process can't create new ...
8 years, 6 months ago (2012-06-15 14:58:34 UTC) #5
rpetterson
Updated with the discussed changes. Now a much simpler CL :)
8 years, 6 months ago (2012-06-15 19:50:07 UTC) #6
jam
On 2012/06/15 19:50:07, rpetterson wrote: > Updated with the discussed changes. Now a much simpler ...
8 years, 6 months ago (2012-06-15 19:52:50 UTC) #7
rpetterson
And an even simpler CL :)
8 years, 6 months ago (2012-06-15 20:38:01 UTC) #8
jam
lgtm! http://codereview.chromium.org/10542151/diff/4004/chrome/browser/process_singleton_win.cc File chrome/browser/process_singleton_win.cc (right): http://codereview.chromium.org/10542151/diff/4004/chrome/browser/process_singleton_win.cc#newcode209 chrome/browser/process_singleton_win.cc:209: window_ = NULL; nit: this was never needed ...
8 years, 6 months ago (2012-06-15 21:56:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10542151/20002
8 years, 6 months ago (2012-06-15 23:50:24 UTC) #10
commit-bot: I haz the power
Try job failure for 10542151-20002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-16 00:22:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10542151/20002
8 years, 6 months ago (2012-06-18 07:13:55 UTC) #12
commit-bot: I haz the power
8 years, 6 months ago (2012-06-18 08:47:58 UTC) #13
Change committed as 142682

Powered by Google App Engine
This is Rietveld 408576698