|
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
|
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
|
Total messages: 29 (21 generated)
|