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

Issue 205963005: Delete "shutdown without closing browsers" path (Closed)

Created:
6 years, 9 months ago by oshima
Modified:
6 years, 9 months ago
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, tfarina
Visibility:
Public.

Description

Delete "shutdown without closing browsers" Removing unused ShellDelegate::Shutdown() Added new PreShutdown to safely cleanup DisplayObserver. Chrome no longer access X during shutdown (except for deleting X window, which is safe), so normal SessionEnd path should work. There is another issue when this happens during login screen, and I'll file a separate bug for it. BUG=336653 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259061 R=abodenha@chromium.org, thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259203

Patch Set 1 : #

Total comments: 4

Patch Set 2 : cleanup includes #

Patch Set 3 : gtk build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -70 lines) Patch
M ash/shell.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell_delegate.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_shutdown.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/browser_shutdown.cc View 1 4 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_x11.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/ash_init.cc View 1 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 4 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
oshima
https://codereview.chromium.org/205963005/diff/50001/ash/shell_delegate.h File ash/shell_delegate.h (left): https://codereview.chromium.org/205963005/diff/50001/ash/shell_delegate.h#oldcode80 ash/shell_delegate.h:80: virtual void Shutdown() = 0; This method was obsolete.
6 years, 9 months ago (2014-03-22 17:39:07 UTC) #1
Albert Bodenhamer
A lot of this CL is replacing Shutdown with PreShutdown, but that isn't mentioned in ...
6 years, 9 months ago (2014-03-23 01:38:35 UTC) #2
oshima
It wasn't replace. I added comment but sorry if it wasn't clear. I simply removed ...
6 years, 9 months ago (2014-03-23 04:07:35 UTC) #3
Albert Bodenhamer
lgtm https://codereview.chromium.org/205963005/diff/50001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/205963005/diff/50001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode998 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:998: NOTREACHED(); On 2014/03/23 04:07:35, oshima wrote: > On ...
6 years, 9 months ago (2014-03-24 02:22:41 UTC) #4
Albert Bodenhamer
The CQ bit was checked by abodenha@chromium.org
6 years, 9 months ago (2014-03-24 02:22:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/205963005/50001
6 years, 9 months ago (2014-03-24 02:22:51 UTC) #6
oshima
The CQ bit was unchecked by oshima@chromium.org
6 years, 9 months ago (2014-03-24 02:30:05 UTC) #7
oshima
On 2014/03/24 02:22:41, Albert Bodenhamer wrote: > lgtm > > https://codereview.chromium.org/205963005/diff/50001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc > File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): ...
6 years, 9 months ago (2014-03-24 02:31:50 UTC) #8
oshima
On 2014/03/24 02:31:50, oshima wrote: > On 2014/03/24 02:22:41, Albert Bodenhamer wrote: > > lgtm ...
6 years, 9 months ago (2014-03-24 02:45:56 UTC) #9
oshima
thestig -> chrome/browser OWNER
6 years, 9 months ago (2014-03-24 05:38:51 UTC) #10
Lei Zhang
lgtm stamp You can probably remove some chrome/browser/browser_shutdown.h #includes
6 years, 9 months ago (2014-03-24 20:13:14 UTC) #11
oshima
On 2014/03/24 20:13:14, Lei Zhang wrote: > lgtm stamp > > You can probably remove ...
6 years, 9 months ago (2014-03-24 20:53:32 UTC) #12
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 9 months ago (2014-03-24 20:54:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/205963005/60001
6 years, 9 months ago (2014-03-24 20:54:54 UTC) #14
commit-bot: I haz the power
Change committed as 259061
6 years, 9 months ago (2014-03-25 00:49:36 UTC) #15
michaeln
A revert of this CL has been created in https://codereview.chromium.org/210673002/ by michaeln@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-25 01:38:52 UTC) #16
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 9 months ago (2014-03-25 14:02:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/205963005/130001
6 years, 9 months ago (2014-03-25 14:02:52 UTC) #18
oshima
6 years, 9 months ago (2014-03-25 15:29:20 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 manually as r259203 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698