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

Issue 11434013: In Chrome ASH on Windows 8 make sure that the browser object is closed before destroying it. (Closed)

Created:
8 years ago by ananta
Modified:
8 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

In Chrome ASH on Windows 8 make sure that the browser object is closed before destroying it. In Chrome ASH on Windows 8 the ASH process could be closed with open browser windows. Make sure that we close them before uninitializing ASH as that causes DCHECKs/crashes. Added a local helper function CloseOpenAshBrowsers which runs through the list of open ASH browsers and closes them. BUG=151718 R=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170493

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : #

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

Messages

Total messages: 9 (0 generated)
ananta
8 years ago (2012-11-28 22:15:22 UTC) #1
sky
https://codereview.chromium.org/11434013/diff/6001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/11434013/diff/6001/chrome/browser/ui/views/frame/browser_view.cc#newcode558 chrome/browser/ui/views/frame/browser_view.cc:558: if (!browser_->tab_strip_model()->empty()) This seems wrong. What code path is ...
8 years ago (2012-11-28 22:44:57 UTC) #2
ananta
On 2012/11/28 22:44:57, sky wrote: > https://codereview.chromium.org/11434013/diff/6001/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/11434013/diff/6001/chrome/browser/ui/views/frame/browser_view.cc#newcode558 > ...
8 years ago (2012-11-29 00:21:15 UTC) #3
sky
https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc#newcode217 chrome/browser/lifetime/application_lifetime.cc:217: browser->window()->Close(); What if the close is vetoed for some ...
8 years ago (2012-11-29 01:53:26 UTC) #4
ananta
https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc#newcode217 chrome/browser/lifetime/application_lifetime.cc:217: browser->window()->Close(); On 2012/11/29 01:53:27, sky wrote: > What if ...
8 years ago (2012-11-29 02:39:41 UTC) #5
ananta
On 2012/11/29 01:53:26, sky wrote: > https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc > File chrome/browser/lifetime/application_lifetime.cc (right): > > https://codereview.chromium.org/11434013/diff/8002/chrome/browser/lifetime/application_lifetime.cc#newcode217 > ...
8 years ago (2012-11-29 18:33:16 UTC) #6
sky
https://codereview.chromium.org/11434013/diff/11003/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/11434013/diff/11003/chrome/browser/lifetime/application_lifetime.cc#newcode210 chrome/browser/lifetime/application_lifetime.cc:210: void CloseAllBrowsersOfType(chrome::HostDesktopType type) { I'm worried that keeping this ...
8 years ago (2012-11-29 20:28:03 UTC) #7
ananta
https://codereview.chromium.org/11434013/diff/11003/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/11434013/diff/11003/chrome/browser/lifetime/application_lifetime.cc#newcode210 chrome/browser/lifetime/application_lifetime.cc:210: void CloseAllBrowsersOfType(chrome::HostDesktopType type) { On 2012/11/29 20:28:03, sky wrote: ...
8 years ago (2012-11-29 21:55:42 UTC) #8
sky
8 years ago (2012-11-29 23:29:14 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698