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

Issue 10831254: Make --keep-alive-for-test respect the kBackgroundModeEnabled flag. (Closed)

Created:
8 years, 4 months ago by koz (OOO until 15th September)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, benwells
Visibility:
Public.

Description

Make --keep-alive-for-test respect the kBackgroundModeEnabled preference. The motivation for this is that we may one day want to make background mode be the default, which this flag currently achieves, but in that case we'd need to respect the user's desire to disable background mode altogether. TEST=Starting chrome with --keep-alive-for-test should display a chrome icon in the system tray unless background mode is disabled from the advanced tab in chrome://settings. Toggling that setting should toggle the presence of the icon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151674

Patch Set 1 #

Patch Set 2 : update comment #

Patch Set 3 : remove redundant check #

Patch Set 4 : add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -28 lines) Patch
M chrome/browser/background/background_mode_manager.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 2 3 9 chunks +22 lines, -18 lines 0 comments Download
M chrome/browser/background/background_mode_manager_unittest.cc View 1 2 3 9 chunks +35 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
koz (OOO until 15th September)
8 years, 4 months ago (2012-08-10 01:41:20 UTC) #1
Andrew T Wilson (Slow)
Generally looks good, but I'm wondering if we should add a unit test to verify ...
8 years, 4 months ago (2012-08-13 21:13:06 UTC) #2
Andrew T Wilson (Slow)
On 2012/08/13 21:13:06, Andrew T Wilson wrote: > Generally looks good, but I'm wondering if ...
8 years, 4 months ago (2012-08-13 21:20:35 UTC) #3
koz (OOO until 15th September)
On 2012/08/13 21:20:35, Andrew T Wilson wrote: > On 2012/08/13 21:13:06, Andrew T Wilson wrote: ...
8 years, 4 months ago (2012-08-14 05:31:55 UTC) #4
Andrew T Wilson (Slow)
On 2012/08/14 05:31:55, koz wrote: > On 2012/08/13 21:20:35, Andrew T Wilson wrote: > > ...
8 years, 4 months ago (2012-08-14 21:09:43 UTC) #5
koz (OOO until 15th September)
On 2012/08/14 21:09:43, Andrew T Wilson wrote: > On 2012/08/14 05:31:55, koz wrote: > > ...
8 years, 4 months ago (2012-08-15 00:29:40 UTC) #6
Andrew T Wilson (Slow)
lgtm
8 years, 4 months ago (2012-08-15 00:58:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/10831254/7002
8 years, 4 months ago (2012-08-15 01:06:18 UTC) #8
commit-bot: I haz the power
Try job failure for 10831254-7002 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-15 02:42:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/10831254/7002
8 years, 4 months ago (2012-08-15 04:22:19 UTC) #10
commit-bot: I haz the power
Try job failure for 10831254-7002 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-15 06:08:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/10831254/7002
8 years, 4 months ago (2012-08-15 06:29:03 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 08:53:19 UTC) #13
Change committed as 151674

Powered by Google App Engine
This is Rietveld 408576698