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

Unified Diff: content/browser/download/download_item.h

Issue 7847027: DownloadId (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge 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
« no previous file with comments | « content/browser/download/download_id.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_item.h
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h
index 07c43fec9bfd2cb1a94dffceb6402247e0c10531..2a9b8b94dc0f99d4d548acff788f28e144d3b0d5 100644
--- a/content/browser/download/download_item.h
+++ b/content/browser/download/download_item.h
@@ -32,6 +32,7 @@
#include "net/base/net_errors.h"
class DownloadFileManager;
+class DownloadId;
class DownloadManager;
struct DownloadCreateInfo;
struct DownloadPersistentStoreInfo;
@@ -124,7 +125,7 @@ class CONTENT_EXPORT DownloadItem {
const FilePath& path,
const GURL& url,
bool is_otr,
- int download_id);
+ DownloadId download_id);
virtual ~DownloadItem();
@@ -275,6 +276,7 @@ class CONTENT_EXPORT 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_; }
« no previous file with comments | « content/browser/download/download_id.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698