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

Unified Diff: components/upload_list/upload_list.cc

Issue 2330573002: Show crash report size in crashes UI for Android. (Closed)
Patch Set: Created 4 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
« components/crash_strings.grdp ('K') | « components/upload_list/upload_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/upload_list/upload_list.cc
diff --git a/components/upload_list/upload_list.cc b/components/upload_list/upload_list.cc
index 6922be55215f2605f5d9c07052157f512fb6e906..8021fe12a35267a76ece891e190ee337a059ccb7 100644
--- a/components/upload_list/upload_list.cc
+++ b/components/upload_list/upload_list.cc
@@ -28,6 +28,15 @@ UploadList::UploadInfo::UploadInfo(const std::string& upload_id,
capture_time(capture_time),
state(state) {}
+UploadList::UploadInfo::UploadInfo(const std::string& local_id,
+ const base::Time& capture_time,
+ State state,
+ int file_size)
+ : local_id(local_id),
+ capture_time(capture_time),
+ state(state),
+ file_size(file_size) {}
+
UploadList::UploadInfo::UploadInfo(const std::string& upload_id,
const base::Time& upload_time)
: upload_id(upload_id), upload_time(upload_time), state(State::Uploaded) {}
« components/crash_strings.grdp ('K') | « components/upload_list/upload_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698