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

Unified Diff: chrome/browser/history/history_types.h

Issue 8008021: Add new UMA stats to get a handle on Downloads UI Usage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: comments Created 9 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: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index ff4741d8c0525f4dba26e65d55a7fff8e4c3676c..b8598d4a21c3eb98ed6f826b24d45dbd40016578 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -739,6 +739,20 @@ struct FaviconData {
history::IconType icon_type;
};
+// The DownloadItem fields that are persisted and may change, which is a subset
+// of DownloadPersistentStoreInfo.
+// TODO(benjhayden): Add filepath and unify UpdateDownload{,Path}().
+struct DownloadItemData {
Randy Smith (Not in Mondays) 2011/09/28 19:41:55 Is there a reason not to use DownloadPersistentSto
benjhayden 2011/09/28 20:29:39 DownloadItemData isn't what the DownloadItem gets
Randy Smith (Not in Mondays) 2011/09/30 15:57:21 I think I'd rather use DPSI. We're already using
benjhayden 2011/10/03 20:54:39 Done.
+ DownloadItemData();
+ ~DownloadItemData();
+
+ int64 received_bytes;
+ int32 state;
+ base::Time end_time;
+ bool opened;
+ DownloadID db_handle;
+};
+
} // namespace history
#endif // CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698