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

Issue 11275209: Revert r165772: Keep browser process alive while there are platform apps with background pages runn… (Closed)

Created:
8 years, 1 month ago by davidjames
Modified:
8 years, 1 month ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, tzik+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Revert r165772: Keep browser process alive while there are platform apps with background pages running. Change r165772 broke logout on official Chrome OS, such that Chrome crashes every time you log out. This was caught by our bots which immediately started failing every time, starting with r165772. I tested this change on Chrome OS bots and confirmed that the Chrome OS bots were fixed. TBR=benwells@chromium.org BUG=chromium:155457, chromium-os:36058 TEST=Run Chrome and Chrome OS trybots on several architectures. Verify Chrome OS build is reliable now and that all Chrome browser tests still pass. Original CL description: This change prevents platform apps getting killed unceremoniously while they have background pages active. This also delays the process being shutdown after closing the last platform app window, as background pages are kept alive for 15 seconds after their last activity is completed. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166715

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -437 lines) Patch
M chrome/browser/chromeos/extensions/external_filesystem_apitest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc View 1 2 3 7 chunks +3 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/dns/dns_apitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 2 3 13 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc View 1 2 3 3 chunks +39 lines, -35 lines 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/serial/serial_apitest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_apitest.cc View 1 2 3 4 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc View 1 2 3 1 chunk +4 lines, -3 lines 1 comment Download
M chrome/browser/extensions/api/system_info_cpu/system_info_cpu_apitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/usb/usb_apitest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.h View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 2 3 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 chunks +0 lines, -33 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 3 24 chunks +36 lines, -40 lines 7 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.h View 1 2 3 2 chunks +3 lines, -12 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.cc View 1 2 3 4 chunks +29 lines, -25 lines 0 comments Download
M chrome/browser/extensions/platform_app_service.h View 1 2 3 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/browser/extensions/platform_app_service.cc View 1 2 3 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/extensions/platform_app_service_factory.h View 1 2 3 1 chunk +0 lines, -36 lines 0 comments Download
M chrome/browser/extensions/platform_app_service_factory.cc View 1 2 3 1 chunk +0 lines, -47 lines 0 comments Download
M chrome/browser/extensions/web_view_browsertest.cc View 1 2 3 3 chunks +0 lines, -6 lines 3 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 15 chunks +11 lines, -18 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/media_galleries_private/attachdetach/test.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/geometry/page1.js View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/open_link/main.js View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
davidjames
This has been confirmed to make Chrome work on Chrome OS again. See http://chromegw.corp.google.com/i/chromiumos.tryserver/builders/lumpy-tot-chrome-pfq-informational/builds/23
8 years, 1 month ago (2012-11-08 08:03:44 UTC) #1
Peter Mayo
Original review was here: https://chromiumcodereview.appspot.com/11117011/
8 years, 1 month ago (2012-11-08 14:53:52 UTC) #2
Nikita (slow)
sheriff rubberstamp lgtm
8 years, 1 month ago (2012-11-08 15:37:30 UTC) #3
DaveMoore
On 2012/11/08 15:37:30, Nikita Kostylev wrote: > sheriff rubberstamp lgtm Please do not check this ...
8 years, 1 month ago (2012-11-08 15:59:36 UTC) #4
DaveMoore
Spoke to aa and he said to go ahead and revert. On 2012/11/08 15:59:36, DaveMoore ...
8 years, 1 month ago (2012-11-08 16:56:35 UTC) #5
davidjames
For folks reviewing this later, a few comments on how I resolved the conflicts https://chromiumcodereview.appspot.com/11275209/diff/7017/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc ...
8 years, 1 month ago (2012-11-08 17:38:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidjames@chromium.org/11275209/7017
8 years, 1 month ago (2012-11-08 18:06:28 UTC) #7
benwells
8 years, 1 month ago (2012-11-09 23:54:06 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698