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

Unified Diff: chrome/installer/util/install_util.cc

Issue 10446111: Abstract suffixing logic away from GetApplicationName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use GetAppShortCutName() in logs 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
Index: chrome/installer/util/install_util.cc
diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc
index 4b096efea481c58e706d55ba76082308b5d973b2..bb102651922ec39a652b1804b04f5601a55d978c 100644
--- a/chrome/installer/util/install_util.cc
+++ b/chrome/installer/util/install_util.cc
@@ -185,12 +185,12 @@ Version* InstallUtil::GetChromeVersion(BrowserDistribution* dist,
Version* ret = NULL;
if (result == ERROR_SUCCESS && !version_str.empty()) {
- VLOG(1) << "Existing " << dist->GetApplicationName()
- << " version found " << version_str;
+ VLOG(1) << "Existing " << dist->GetAppShortCutName() << " version found "
+ << version_str;
ret = Version::GetVersionFromString(WideToASCII(version_str));
} else {
DCHECK_EQ(ERROR_FILE_NOT_FOUND, result);
- VLOG(1) << "No existing " << dist->GetApplicationName()
+ VLOG(1) << "No existing " << dist->GetAppShortCutName()
<< " install found.";
}
@@ -212,12 +212,12 @@ Version* InstallUtil::GetCriticalUpdateVersion(BrowserDistribution* dist,
Version* ret = NULL;
if (result == ERROR_SUCCESS && !version_str.empty()) {
- VLOG(1) << "Critical Update version for " << dist->GetApplicationName()
+ VLOG(1) << "Critical Update version for " << dist->GetAppShortCutName()
<< " found " << version_str;
ret = Version::GetVersionFromString(WideToASCII(version_str));
} else {
DCHECK_EQ(ERROR_FILE_NOT_FOUND, result);
- VLOG(1) << "No existing " << dist->GetApplicationName()
+ VLOG(1) << "No existing " << dist->GetAppShortCutName()
<< " install found.";
}

Powered by Google App Engine
This is Rietveld 408576698