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

Unified Diff: chrome/browser/extensions/crx_installer.cc

Issue 10905188: Have different text for apps and regular extensions in some more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more change Created 8 years, 3 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/browser/extensions/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index d17820497c38819cf055bb9b4543362f7940d3dc..9d301a6fd346c669f73b7c4ec411a9d3d224e725 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -470,7 +470,9 @@ void CrxInstaller::CompleteInstall() {
if (current_version.CompareTo(*(extension_->version())) > 0) {
ReportFailureFromFileThread(
CrxInstallerError(
- l10n_util::GetStringUTF16(IDS_EXTENSION_CANT_DOWNGRADE_VERSION)));
+ l10n_util::GetStringUTF16(extension_->is_app() ?
+ IDS_APP_CANT_DOWNGRADE_VERSION :
+ IDS_EXTENSION_CANT_DOWNGRADE_VERSION)));
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698