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

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: rebase (and make it actually compile) 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
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/extensions/extension_error_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index 3d4071b7eba902a5f9e63941b07e31d1de4f73d0..3886528d63cb21a1113059e2fb3a275f652e721d 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -498,7 +498,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;
}
}
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/extensions/extension_error_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698