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

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

Issue 9372091: Polished on side-loaded extension install alert. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor Corrections Created 8 years, 10 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_global_error.cc
diff --git a/chrome/browser/extensions/extension_global_error.cc b/chrome/browser/extensions/extension_global_error.cc
index 173964a3d246546719c332989d83c7d5a94d7764..3a69833851cc48d14bb17776b9f1bb3a59f393d7 100644
--- a/chrome/browser/extensions/extension_global_error.cc
+++ b/chrome/browser/extensions/extension_global_error.cc
@@ -86,14 +86,16 @@ string16 ExtensionGlobalError::GenerateMessage() {
return GenerateMessageSection(external_extension_ids_.get(),
IDS_EXTENSION_ALERT_ITEM_EXTERNAL) +
GenerateMessageSection(blacklisted_extension_ids_.get(),
- IDS_EXTENSION_ALERT_ITEM_EXTERNAL) +
+ IDS_EXTENSION_ALERT_ITEM_BLACKLISTED) +
GenerateMessageSection(orphaned_extension_ids_.get(),
- IDS_EXTENSION_ALERT_ITEM_EXTERNAL);
+ IDS_EXTENSION_ALERT_ITEM_ORPHANED);
}
string16 ExtensionGlobalError::GetBubbleViewMessage() {
if (message_.empty()) {
message_ = GenerateMessage();
+ if (message_[message_.size()-1] == '\n')
+ message_.resize(message_.size()-1);
Evan Stade 2012/03/19 21:45:56 spaces around operators.
Aaron Boodman 2012/03/19 22:00:07 Dang, how did I miss this... Thanks Evan.
chebert 2012/03/26 22:22:24 Done.
}
return message_;
}
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698