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

Issue 1439803002: Remove logic for unused foreground auto-launch mode on Windows. (Closed)

Created:
5 years, 1 month ago by gab
Modified:
5 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@d1_rm_auto_launch_trial
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove logic for unused foreground auto-launch mode on Windows. And distill auto_launch_util.cc to essentially the very simple thing it is doing once all the if(in_foreground) code is out of the way..! TBR=atwilson (metrics change in chrome/browser/background/background_mode_manager.cc already reviewed by metrics OWNER rkaplow@) TBR=pkasting (side-effect of switch removal on chrome/browser/ui/startup/startup_browser_creator_impl.cc already reviewed by grt@) TBR=gene (side-effect of switch removal on cloud_print -- that switch was a no-op for cloud_print anyways) BUG=553790 TEST=Install pre-CL chrome, enable bg auto-launch, install new Chrome, confirm it uses the same key for bg auto-launch and works with it. Committed: https://crrev.com/a17c5d45d89988e4561d01d97f1e208785f3a85f Cr-Commit-Position: refs/heads/master@{#359561}

Patch Set 1 #

Total comments: 17

Patch Set 2 : comments #9-10 #

Total comments: 4

Patch Set 3 : oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -351 lines) Patch
M chrome/browser/background/background_mode_manager.cc View 2 chunks +2 lines, -36 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/setup/install.cc View 2 chunks +0 lines, -17 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/util/auto_launch_util.h View 1 chunk +2 lines, -57 lines 0 comments Download
M chrome/installer/util/auto_launch_util.cc View 1 2 2 chunks +33 lines, -212 lines 0 comments Download
M chrome/installer/util/master_preferences.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/util/master_preferences.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cloud_print/service/win/chrome_launcher.cc View 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (10 generated)
gab
Greg PTAL We can remove a ton of unused auto-launch code following https://codereview.chromium.org/1432033003/ :-). See ...
5 years, 1 month ago (2015-11-11 21:04:15 UTC) #3
gab
On 2015/11/11 21:04:15, gab wrote: > Greg PTAL +Drew for background mode changes. +rkaplow for ...
5 years, 1 month ago (2015-11-11 21:05:30 UTC) #5
grt (UTC plus 2)
looks good. nice to see unused code getting the axe! https://codereview.chromium.org/1439803002/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): https://codereview.chromium.org/1439803002/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode500 ...
5 years, 1 month ago (2015-11-12 17:49:03 UTC) #9
rkaplow
https://codereview.chromium.org/1439803002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1439803002/diff/1/tools/metrics/histograms/histograms.xml#newcode2642 tools/metrics/histograms/histograms.xml:2642: + enum="BooleanBackgroundMode"> On 2015/11/11 21:04:15, gab wrote: > @rkaplow: ...
5 years, 1 month ago (2015-11-12 18:00:26 UTC) #10
gab
Done. PTAL (@rob: see reply below) https://codereview.chromium.org/1439803002/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): https://codereview.chromium.org/1439803002/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode500 chrome/browser/ui/startup/startup_browser_creator_impl.cc:500: // don't open ...
5 years, 1 month ago (2015-11-12 18:44:26 UTC) #11
grt (UTC plus 2)
lgtm w/ fix below https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc File chrome/installer/util/auto_launch_util.cc (right): https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc#newcode8 chrome/installer/util/auto_launch_util.cc:8: nit: no newline here as ...
5 years, 1 month ago (2015-11-12 18:51:39 UTC) #12
gab
https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc File chrome/installer/util/auto_launch_util.cc (right): https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc#newcode58 chrome/installer/util/auto_launch_util.cc:58: application_path.Append(installer::kChromeExe); On 2015/11/12 18:51:39, grt wrote: > ha! you've ...
5 years, 1 month ago (2015-11-12 18:56:31 UTC) #13
gab
https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc File chrome/installer/util/auto_launch_util.cc (right): https://codereview.chromium.org/1439803002/diff/20001/chrome/installer/util/auto_launch_util.cc#newcode58 chrome/installer/util/auto_launch_util.cc:58: application_path.Append(installer::kChromeExe); On 2015/11/12 18:56:30, gab wrote: > On 2015/11/12 ...
5 years, 1 month ago (2015-11-12 18:59:14 UTC) #14
gab
+gene for cloud_print/ side-effects +pkasting for side-effects in chrome/browser/ui/startup/startup_browser_creator_impl.cc Thanks, Gab
5 years, 1 month ago (2015-11-12 19:14:17 UTC) #16
rkaplow
On 2015/11/12 18:44:26, gab wrote: > Done. PTAL (@rob: see reply below) > > https://codereview.chromium.org/1439803002/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc ...
5 years, 1 month ago (2015-11-13 16:05:28 UTC) #17
rkaplow
lgtm
5 years, 1 month ago (2015-11-13 16:05:35 UTC) #18
gab
TBR atwilson (metrics change in chrome/browser/background/background_mode_manager.cc already reviewed by metrics OWNER rkaplow@) TBR pkasting (side-effect ...
5 years, 1 month ago (2015-11-13 16:09:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1439803002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1439803002/40001
5 years, 1 month ago (2015-11-13 16:09:58 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-13 16:24:17 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a17c5d45d89988e4561d01d97f1e208785f3a85f Cr-Commit-Position: refs/heads/master@{#359561}
5 years, 1 month ago (2015-11-13 16:24:58 UTC) #25
Peter Kasting
LGTM
5 years, 1 month ago (2015-11-14 01:19:33 UTC) #26
Andrew T Wilson (Slow)
5 years, 1 month ago (2015-11-16 11:13:12 UTC) #27
Message was sent while issue was closed.
background/ lgtm

Powered by Google App Engine
This is Rietveld 408576698