Index: chrome/browser/history/download_history_info.h |
diff --git a/chrome/browser/history/download_history_info.h b/chrome/browser/history/download_history_info.h |
index e7c35d4e934dc29d1dd6933d91f57df8b4c2ec22..515a8a1acfdbb6e1ab5fcb807c516b1a74fba6e1 100644 |
--- a/chrome/browser/history/download_history_info.h |
+++ b/chrome/browser/history/download_history_info.h |
@@ -8,8 +8,6 @@ |
#define CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ |
#pragma once |
-#include <vector> |
- |
#include "base/file_path.h" |
#include "base/time.h" |
#include "googleurl/src/gurl.h" |
@@ -19,8 +17,6 @@ class DownloadItem; |
// Contains the information that is stored in the download history database |
// (or refers to it). Managed by the DownloadItem. |
struct DownloadHistoryInfo { |
- // TODO(ahendrickson) -- Reduce the number of constructors. |
- DownloadHistoryInfo(); |
DownloadHistoryInfo(const FilePath& path, |
const GURL& url, |
const GURL& referrer, |
@@ -28,8 +24,8 @@ struct DownloadHistoryInfo { |
int64 received, |
int64 total, |
int32 download_state, |
- int64 handle); |
- ~DownloadHistoryInfo(); // For linux-clang. |
+ int32 id); |
+ ~DownloadHistoryInfo() {} |
// The final path where the download is saved. |
FilePath path; |
@@ -53,8 +49,8 @@ struct DownloadHistoryInfo { |
// The current state of the download. |
int32 state; |
- // The handle of the download in the database. |
- int64 db_handle; |
+ // This download item's unique persistent identifier. |
+ int32 id; |
}; |
#endif // CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ |