Chromium Code Reviews| Index: chrome/browser/download/download_item.h |
| diff --git a/chrome/browser/download/download_item.h b/chrome/browser/download/download_item.h |
| index 5596b53c3780720e9909cf4d5d7d7e2fe20559dc..5e6df1fa548d50ec710ff383e2085d95d24623de 100644 |
| --- a/chrome/browser/download/download_item.h |
| +++ b/chrome/browser/download/download_item.h |
| @@ -19,6 +19,7 @@ |
| #pragma once |
| #include <string> |
| +#include <iostream> |
| #include "base/basictypes.h" |
| #include "base/file_path.h" |
| @@ -33,6 +34,7 @@ |
| class CrxInstaller; |
| class DownloadFileManager; |
| +class DownloadId; |
| class DownloadManager; |
| struct DownloadCreateInfo; |
| struct DownloadHistoryInfo; |
| @@ -277,6 +279,7 @@ class DownloadItem : public NotificationObserver { |
| } |
| int64 received_bytes() const { return received_bytes_; } |
| int32 id() const { return download_id_; } |
| + DownloadId gid() const; |
|
Randy Smith (Not in Mondays)
2011/07/28 21:03:16
I'd be inclined to call this global_id(); that's w
benjhayden
2011/08/03 17:44:46
Done.
|
| base::Time start_time() const { return start_time_; } |
| void set_db_handle(int64 handle) { db_handle_ = handle; } |
| int64 db_handle() const { return db_handle_; } |
| @@ -487,5 +490,4 @@ class DownloadItem : public NotificationObserver { |
| DISALLOW_COPY_AND_ASSIGN(DownloadItem); |
| }; |
| - |
| #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_H_ |