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

Unified Diff: chrome/browser/history/download_history_info.cc

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased Created 9 years, 5 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 | « chrome/browser/history/download_history_info.h ('k') | chrome/browser/history/history.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_history_info.cc
diff --git a/chrome/browser/history/download_history_info.cc b/chrome/browser/history/download_history_info.cc
index 439f714ef478bd3c3944426ac488b63c6d089aec..1aa1673cd549af7025125fca7457f957f2144d69 100644
--- a/chrome/browser/history/download_history_info.cc
+++ b/chrome/browser/history/download_history_info.cc
@@ -4,15 +4,6 @@
#include "chrome/browser/history/download_history_info.h"
-#include "chrome/browser/download/download_item.h"
-
-DownloadHistoryInfo::DownloadHistoryInfo()
- : received_bytes(0),
- total_bytes(0),
- state(0),
- db_handle(0) {
-}
-
DownloadHistoryInfo::DownloadHistoryInfo(const FilePath& path,
const GURL& url,
const GURL& referrer,
@@ -20,7 +11,7 @@ DownloadHistoryInfo::DownloadHistoryInfo(const FilePath& path,
int64 received,
int64 total,
int32 download_state,
- int64 handle)
+ int32 ident)
: path(path),
url(url),
referrer_url(referrer),
@@ -28,8 +19,5 @@ DownloadHistoryInfo::DownloadHistoryInfo(const FilePath& path,
received_bytes(received),
total_bytes(total),
state(download_state),
- db_handle(handle) {
-}
-
-DownloadHistoryInfo::~DownloadHistoryInfo() { // For linux-clang.
+ id(ident) {
}
« no previous file with comments | « chrome/browser/history/download_history_info.h ('k') | chrome/browser/history/history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698