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

Issue 2618583005: Remove support for non-browser products from InstallationState and ProductState. (Closed)

Created:
3 years, 11 months ago by grt (UTC plus 2)
Modified:
3 years, 11 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove support for non-browser products from InstallationState and ProductState. - InstallationState::GetProductState loses its distribution type parameter. - ProductState::Initialize loses its distribution-related parameters. This change also contains a minor simplification of GetChromeUninstallCmd. BUG=577816 Review-Url: https://codereview.chromium.org/2618583005 Cr-Commit-Position: refs/heads/master@{#442684} Committed: https://chromium.googlesource.com/chromium/src/+/2ff7705a8ca000902ea0b6ebed65f01b90a646a9

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix #

Total comments: 20

Patch Set 4 : sync to position 442218 #

Patch Set 5 : huangs comments #

Patch Set 6 : sync to position 442226 #

Patch Set 7 : sync to position 442533 #

Patch Set 8 : sync to position 442664 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -326 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M chrome/installer/setup/install.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/installer/setup/install_worker_unittest.cc View 3 chunks +3 lines, -8 lines 0 comments Download
M chrome/installer/setup/installer_state.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/installer/setup/installer_state_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/setup_main.cc View 4 chunks +8 lines, -13 lines 0 comments Download
M chrome/installer/setup/setup_util.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/setup_util_unittest.cc View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/util/fake_installation_state.h View 1 2 3 4 1 chunk +8 lines, -20 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 2 3 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/google_update_util.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/installer/util/helper.cc View 1 2 3 4 1 chunk +6 lines, -10 lines 0 comments Download
M chrome/installer/util/install_util.h View 1 2 3 4 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/installer/util/installation_state.h View 1 2 3 4 5 chunks +9 lines, -28 lines 0 comments Download
M chrome/installer/util/installation_state.cc View 1 2 3 4 7 chunks +44 lines, -79 lines 0 comments Download
M chrome/installer/util/product_state_unittest.cc View 1 2 3 4 29 chunks +59 lines, -100 lines 0 comments Download
M chrome/installer/util/product_unittest.cc View 1 2 3 4 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/installer/util/user_experiment.cc View 1 2 3 4 5 chunks +7 lines, -11 lines 0 comments Download

Messages

Total messages: 38 (30 generated)
huangs
Mostly NITs. Maybe add reviewer for chrome_browser_main_win.cc sooner than later? https://codereview.chromium.org/2618583005/diff/40001/chrome/browser/chrome_browser_main_win.cc File chrome/browser/chrome_browser_main_win.cc (right): https://codereview.chromium.org/2618583005/diff/40001/chrome/browser/chrome_browser_main_win.cc#newcode463 ...
3 years, 11 months ago (2017-01-09 09:09:11 UTC) #10
grt (UTC plus 2)
Thanks, Sam. +jochen for chrome/browser/chrome_browser_main_win.cc OWNERS review. https://codereview.chromium.org/2618583005/diff/40001/chrome/browser/chrome_browser_main_win.cc File chrome/browser/chrome_browser_main_win.cc (right): https://codereview.chromium.org/2618583005/diff/40001/chrome/browser/chrome_browser_main_win.cc#newcode463 chrome/browser/chrome_browser_main_win.cc:463: // TODO(tommi): ...
3 years, 11 months ago (2017-01-09 10:11:45 UTC) #15
jochen (gone - plz use gerrit)
chrome_browser_main lgtm
3 years, 11 months ago (2017-01-09 13:09:34 UTC) #22
huangs
LGTM.
3 years, 11 months ago (2017-01-10 18:30:46 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2618583005/120001
3 years, 11 months ago (2017-01-10 19:30:57 UTC) #30
commit-bot: I haz the power
Failed to apply patch for chrome/installer/setup/uninstall.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-10 19:46:32 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2618583005/140001
3 years, 11 months ago (2017-01-10 19:59:33 UTC) #35
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 21:10:13 UTC) #38
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/2ff7705a8ca000902ea0b6ebed65...

Powered by Google App Engine
This is Rietveld 408576698