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

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 10446111: Abstract suffixing logic away from GetApplicationName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on suffix@r142211 Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/shell_integration_win.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 4e709f66dcc1493e37c460ae7145b3d037eb0b79..48fbe5430c9c1a73424cf46c193227c3f15267fc 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -158,7 +158,7 @@ void AddExistingMultiInstalls(const InstallationState& original_state,
installer_state->AddProductFromState(type, *state);
VLOG(1) << "Product already installed and must be included: "
<< BrowserDistribution::GetSpecificDistribution(
- type)->GetApplicationName();
+ type)->GetAppShortCutName();
}
}
}
@@ -398,7 +398,7 @@ bool CheckMultiInstallConditions(const InstallationState& original_state,
multi_chrome->SetOption(installer::kOptionMultiInstall, true);
chrome = installer_state->AddProduct(&multi_chrome);
VLOG(1) << "Upgrading existing multi-install Chrome browser along with "
- << chrome_frame->distribution()->GetApplicationName();
+ << chrome_frame->distribution()->GetAppShortCutName();
} else if (chrome_frame->HasOption(installer::kOptionReadyMode)) {
// Chrome Frame with ready-mode is to be installed, yet Chrome is
// neither installed nor being installed. Fail.
@@ -479,7 +479,7 @@ bool CheckPreInstallConditions(const InstallationState& original_state,
// Block downgrades from multi-install to single-install.
if (!installer_state->is_multi_install() &&
product_state->is_multi_install()) {
- LOG(ERROR) << "Multi-install " << browser_dist->GetApplicationName()
+ LOG(ERROR) << "Multi-install " << browser_dist->GetAppShortCutName()
<< " exists; aborting single install.";
*status = installer::MULTI_INSTALLATION_EXISTS;
installer_state->WriteInstallerResult(*status,
« no previous file with comments | « chrome/browser/shell_integration_win.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698