Index: chrome/browser/history/download_database.h |
diff --git a/chrome/browser/history/download_database.h b/chrome/browser/history/download_database.h |
index 85c6722727d6a3e9ffc1c4853c72115c7c9ea731..1d5d3fde9de3c1d361aeb0e86b45b3d12061ab2f 100644 |
--- a/chrome/browser/history/download_database.h |
+++ b/chrome/browser/history/download_database.h |
@@ -8,8 +8,9 @@ |
#include <set> |
-#include "chrome/browser/history/history_types.h" |
#include "base/threading/platform_thread.h" |
+#include "chrome/browser/history/history_types.h" |
+#include "sql/meta_table.h" |
struct DownloadPersistentStoreInfo; |
class FilePath; |
@@ -27,6 +28,8 @@ class DownloadDatabase { |
DownloadDatabase(); |
virtual ~DownloadDatabase(); |
+ int next_download_id() const { return next_id_; } |
+ |
// Get all the downloads from the database. |
void QueryDownloads(std::vector<DownloadPersistentStoreInfo>* results); |
@@ -71,6 +74,9 @@ class DownloadDatabase { |
bool owning_thread_set_; |
base::PlatformThreadId owning_thread_; |
+ int next_id_; |
+ sql::MetaTable meta_table_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DownloadDatabase); |
}; |