Index: content/browser/download/download_item.h |
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h |
index 5476aa1fc606944cc9e3c39da4088e28b4615e9b..536c4667003035f962d41c02420f8f4a73fc44fc 100644 |
--- a/content/browser/download/download_item.h |
+++ b/content/browser/download/download_item.h |
@@ -19,6 +19,7 @@ |
#pragma once |
#include <string> |
+#include <iostream> |
#include "base/basictypes.h" |
#include "base/file_path.h" |
@@ -30,6 +31,7 @@ |
#include "googleurl/src/gurl.h" |
class DownloadFileManager; |
+class DownloadId; |
class DownloadManager; |
struct DownloadCreateInfo; |
struct DownloadPersistentStoreInfo; |
@@ -122,7 +124,7 @@ class DownloadItem { |
const FilePath& path, |
const GURL& url, |
bool is_otr, |
- int download_id); |
+ DownloadId download_id); |
virtual ~DownloadItem(); |
@@ -273,6 +275,7 @@ class DownloadItem { |
} |
int64 received_bytes() const { return received_bytes_; } |
int32 id() const { return download_id_; } |
+ DownloadId global_id() const; |
base::Time start_time() const { return start_time_; } |
void set_db_handle(int64 handle) { db_handle_ = handle; } |
int64 db_handle() const { return db_handle_; } |