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

Unified Diff: components/upload_list/upload_list.h

Issue 2330573002: Show crash report size in crashes UI for Android. (Closed)
Patch Set: Always show file size for Android 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
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..a2d30faf16d4b9d075ebb59a7d6116d563efac9c 100644
--- a/components/upload_list/upload_list.h
+++ b/components/upload_list/upload_list.h
@@ -45,6 +45,11 @@ 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,
+ int file_size);
UploadInfo(const std::string& upload_id, const base::Time& upload_time);
~UploadInfo();
@@ -60,6 +65,9 @@ class UploadList : public base::RefCountedThreadSafe<UploadList> {
base::Time capture_time;
State state;
+
+ // File size in bytes for locally stored data.
+ int file_size;
};
class Delegate {

Powered by Google App Engine
This is Rietveld 408576698