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

Issue 2778223004: Move GetBaseAppName into install_static. (Closed)

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

Description

Move GetBaseAppName into install_static. In so doing, this CL also contains: - Change BrowserDistribution::GetShortcutName to use the localized name for Chromium rather than a hardcoded string. - Delete GoogleChromeDistribution::GetShortcutName since the override is no longer needed. - Consistently apply DCHECK_EQ to all public ShellUtil functions that take a BrowserDistribution*, and remove such checks from internal functions. - Remove the BrowserDistribution parameter from: - ShellUtil::GetCurrentInstallationSuffix - ShellUtil::QuickIsChromeRegisteredInHKLM - Generally reduce the use of BrowserDistribution within ShellUtil where sensible. - Make GetApplicationName an implementation detail of ShellUtil. This is another step in bringing brand-specific constants together into one place, eventually leading to the demise of BrowserDistribution. BUG=373987 Review-Url: https://codereview.chromium.org/2778223004 Cr-Commit-Position: refs/heads/master@{#460813} Committed: https://chromium.googlesource.com/chromium/src/+/2457cfdf1f7535bff79949664d01d5e9b0e6e985

Patch Set 1 #

Patch Set 2 : sync to position 460686 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -146 lines) Patch
M chrome/browser/ui/views/uninstall_view.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/install_static/chromium_install_modes.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/install_static/google_chrome_install_modes.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/install_static/install_constants.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/install_static/install_modes_unittest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/install_static/install_util.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/install_static/install_util.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 8 chunks +9 lines, -12 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 1 1 chunk +1 line, -5 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/util/shell_util.h View 3 chunks +1 line, -12 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 43 chunks +83 lines, -83 lines 0 comments Download

Messages

Total messages: 29 (21 generated)
grt (UTC plus 2)
PTAL
3 years, 8 months ago (2017-03-29 19:32:51 UTC) #12
Patrick Monette
lgtm
3 years, 8 months ago (2017-03-30 00:01:41 UTC) #16
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/2778223004/100001
3 years, 8 months ago (2017-03-30 07:23:51 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/398488)
3 years, 8 months ago (2017-03-30 07:30:52 UTC) #21
grt (UTC plus 2)
+pkasting for chrome/browser/ui/views OWNERS stamp. Feel free to check the CQ box if it lgty, ...
3 years, 8 months ago (2017-03-30 07:59:51 UTC) #23
Peter Kasting
lgtm
3 years, 8 months ago (2017-03-30 17:30:02 UTC) #25
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/2778223004/100001
3 years, 8 months ago (2017-03-30 17:30:21 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 17:37:09 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2457cfdf1f7535bff79949664d01...

Powered by Google App Engine
This is Rietveld 408576698