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

Unified Diff: components/crash/core/browser/crashes_ui_util.cc

Issue 1405373002: Fix WebRTC log list errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated log uploader unit test. Created 5 years, 2 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: components/crash/core/browser/crashes_ui_util.cc
diff --git a/components/crash/core/browser/crashes_ui_util.cc b/components/crash/core/browser/crashes_ui_util.cc
index bd74af6056f18b7f797b35010e16912541bb8acc..916f3aa5e5696ad5a1c1ff8858b601b42ae09209 100644
--- a/components/crash/core/browser/crashes_ui_util.cc
+++ b/components/crash/core/browser/crashes_ui_util.cc
@@ -43,8 +43,9 @@ void UploadListToValue(UploadList* upload_list, base::ListValue* out_value) {
for (const auto& info : crashes) {
base::DictionaryValue* crash = new base::DictionaryValue();
- crash->SetString("id", info.id);
- crash->SetString("time", base::TimeFormatFriendlyDateAndTime(info.time));
+ crash->SetString("id", info.upload_id);
+ crash->SetString("time",
+ base::TimeFormatFriendlyDateAndTime(info.upload_time));
crash->SetString("local_id", info.local_id);
out_value->Append(crash);
}

Powered by Google App Engine
This is Rietveld 408576698