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

Issue 25603004: Leave apps running on Windows and Linux when quitting Chrome from the wrench menu. (Closed)

Created:
7 years, 2 months ago by Sam McNally
Modified:
7 years, 1 month ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Leave apps running on Windows and Linux when quitting Chrome. Previously, when Chrome was quit from the wrench menu or the background mode tray icon, all browser and app windows were closed. Now, all browser windows are closed and background mode is suspended, but apps are left running. Other quits, such as restarts, are not affected by this change. BUG=130457 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231284

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Total comments: 17

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Total comments: 2

Patch Set 7 : rebase #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -70 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/background/background_mode_manager.h View 1 6 chunks +24 lines, -4 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 2 3 4 5 6 7 11 chunks +50 lines, -24 lines 0 comments Download
M chrome/browser/background/background_mode_manager_unittest.cc View 1 2 3 4 5 3 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/lifetime/application_lifetime.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 2 3 4 5 6 5 chunks +22 lines, -7 lines 0 comments Download
M chrome/browser/lifetime/browser_close_manager.cc View 1 2 3 4 5 6 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/lifetime/browser_close_manager_browsertest.cc View 1 2 3 4 5 6 30 chunks +153 lines, -27 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Sam McNally
7 years, 2 months ago (2013-10-18 06:24:40 UTC) #1
benwells
What happens if the process is started by an app? Does background mode get started ...
7 years, 2 months ago (2013-10-20 23:46:21 UTC) #2
Sam McNally
On 2013/10/20 23:46:21, benwells wrote: > What happens if the process is started by an ...
7 years, 2 months ago (2013-10-21 04:31:02 UTC) #3
benwells
just questions now... https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm#oldcode364 chrome/browser/app_controller_mac.mm:364: if (!browser_shutdown::IsTryingToQuit()) { Why was this ...
7 years, 2 months ago (2013-10-21 05:57:22 UTC) #4
Sam McNally
https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm#oldcode364 chrome/browser/app_controller_mac.mm:364: if (!browser_shutdown::IsTryingToQuit()) { On 2013/10/21 05:57:22, benwells wrote: > ...
7 years, 2 months ago (2013-10-21 06:45:35 UTC) #5
benwells
https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm#oldcode364 chrome/browser/app_controller_mac.mm:364: if (!browser_shutdown::IsTryingToQuit()) { On 2013/10/21 06:45:35, Sam McNally wrote: ...
7 years, 2 months ago (2013-10-21 21:12:51 UTC) #6
Sam McNally
https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/25603004/diff/462001/chrome/browser/app_controller_mac.mm#oldcode364 chrome/browser/app_controller_mac.mm:364: if (!browser_shutdown::IsTryingToQuit()) { On 2013/10/21 21:12:51, benwells wrote: > ...
7 years, 2 months ago (2013-10-22 00:16:27 UTC) #7
benwells
lgtm
7 years, 2 months ago (2013-10-22 00:22:08 UTC) #8
Sam McNally
+atwilson for chrome/browser/background +sky for the rest
7 years, 2 months ago (2013-10-22 00:28:45 UTC) #9
sky
https://codereview.chromium.org/25603004/diff/1022001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/25603004/diff/1022001/chrome/browser/lifetime/application_lifetime.cc#newcode96 chrome/browser/lifetime/application_lifetime.cc:96: #if !defined(OS_MACOSX) Is there a reason you set trying ...
7 years, 2 months ago (2013-10-22 15:41:18 UTC) #10
Sam McNally
https://codereview.chromium.org/25603004/diff/1022001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/25603004/diff/1022001/chrome/browser/lifetime/application_lifetime.cc#newcode96 chrome/browser/lifetime/application_lifetime.cc:96: #if !defined(OS_MACOSX) On 2013/10/22 15:41:18, sky wrote: > Is ...
7 years, 2 months ago (2013-10-22 22:58:29 UTC) #11
sky
LGTM
7 years, 2 months ago (2013-10-22 23:39:17 UTC) #12
Andrew T Wilson (Slow)
https://codereview.chromium.org/25603004/diff/1142001/chrome/browser/background/background_mode_manager.cc File chrome/browser/background/background_mode_manager.cc (right): https://codereview.chromium.org/25603004/diff/1142001/chrome/browser/background/background_mode_manager.cc#newcode620 chrome/browser/background/background_mode_manager.cc:620: // then we won't notify the user. This means ...
7 years, 2 months ago (2013-10-23 10:00:21 UTC) #13
Sam McNally
https://codereview.chromium.org/25603004/diff/1142001/chrome/browser/background/background_mode_manager.cc File chrome/browser/background/background_mode_manager.cc (right): https://codereview.chromium.org/25603004/diff/1142001/chrome/browser/background/background_mode_manager.cc#newcode620 chrome/browser/background/background_mode_manager.cc:620: // then we won't notify the user. On 2013/10/23 ...
7 years, 2 months ago (2013-10-24 02:01:37 UTC) #14
Andrew T Wilson (Slow)
LGTM if you remove the if statement I flagged below. If you feel you can't ...
7 years, 1 month ago (2013-10-25 11:32:44 UTC) #15
Sam McNally
https://codereview.chromium.org/25603004/diff/1252001/chrome/browser/background/background_mode_manager.cc File chrome/browser/background/background_mode_manager.cc (right): https://codereview.chromium.org/25603004/diff/1252001/chrome/browser/background/background_mode_manager.cc#newcode622 chrome/browser/background/background_mode_manager.cc:622: return; On 2013/10/25 11:32:44, Andrew T Wilson wrote: > ...
7 years, 1 month ago (2013-10-28 00:24:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/25603004/1452001
7 years, 1 month ago (2013-10-28 00:28:50 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=96261
7 years, 1 month ago (2013-10-28 01:04:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/25603004/1452001
7 years, 1 month ago (2013-10-28 01:31:07 UTC) #19
commit-bot: I haz the power
7 years, 1 month ago (2013-10-28 06:27:22 UTC) #20
Message was sent while issue was closed.
Change committed as 231284

Powered by Google App Engine
This is Rietveld 408576698