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

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

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix merge Created 9 years, 4 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 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_; }
« 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