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

Unified Diff: chrome/browser/ui/webui/crashes_ui.cc

Issue 219383008: chrome://crashes: support showing the product name per crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use localized product id Created 6 years, 9 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/resources/crashes.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/crashes_ui.cc
diff --git a/chrome/browser/ui/webui/crashes_ui.cc b/chrome/browser/ui/webui/crashes_ui.cc
index afb2c16467471d8efa3558fa9a05af77a7de2d56..b0f745716420bf9ed27cf482070b12bd610ae521 100644
--- a/chrome/browser/ui/webui/crashes_ui.cc
+++ b/chrome/browser/ui/webui/crashes_ui.cc
@@ -43,6 +43,7 @@ content::WebUIDataSource* CreateCrashesUIHTMLSource() {
content::WebUIDataSource::Create(chrome::kChromeUICrashesHost);
source->SetUseJsonJSFormatV2();
+ source->AddLocalizedString("shortProductName", IDS_SHORT_PRODUCT_NAME);
source->AddLocalizedString("crashesTitle", IDS_CRASHES_TITLE);
source->AddLocalizedString("crashCountFormat",
IDS_CRASHES_CRASH_COUNT_BANNER_FORMAT);
@@ -169,6 +170,7 @@ void CrashesDOMHandler::UpdateUI() {
base::DictionaryValue* crash = new base::DictionaryValue();
crash->SetString("id", i->id);
crash->SetString("time", base::TimeFormatFriendlyDateAndTime(i->time));
+ crash->SetString("local_id", i->local_id);
crash_list.Append(crash);
}
}
« no previous file with comments | « chrome/browser/resources/crashes.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698