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

Unified Diff: components/upload_list/upload_list.h

Issue 2330573002: Show crash report size in crashes UI for Android. (Closed)
Patch Set: Add a copy constructor 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
« no previous file with comments | « components/crash_strings.grdp ('k') | components/upload_list/upload_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/upload_list/upload_list.h
diff --git a/components/upload_list/upload_list.h b/components/upload_list/upload_list.h
index 30fe26ccb8939f712eaa602e7b82eeb4a3fccf88..27e57344186507cd4c36e0fba17b51752a6f0ad7 100644
--- a/components/upload_list/upload_list.h
+++ b/components/upload_list/upload_list.h
@@ -45,7 +45,13 @@ class UploadList : public base::RefCountedThreadSafe<UploadList> {
const std::string& local_id,
const base::Time& capture_time,
State state);
+ // Constructor for locally stored data.
+ UploadInfo(const std::string& local_id,
+ const base::Time& capture_time,
+ State state,
+ const base::string16& file_size);
UploadInfo(const std::string& upload_id, const base::Time& upload_time);
+ UploadInfo(const UploadInfo& upload_info);
~UploadInfo();
// These fields are only valid when |state| == UploadInfo::State::Uploaded.
@@ -60,6 +66,9 @@ class UploadList : public base::RefCountedThreadSafe<UploadList> {
base::Time capture_time;
State state;
+
+ // Formatted file size for locally stored data.
+ base::string16 file_size;
};
class Delegate {
« no previous file with comments | « components/crash_strings.grdp ('k') | components/upload_list/upload_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698