Index: chrome/browser/history/download_database.h |
diff --git a/chrome/browser/history/download_database.h b/chrome/browser/history/download_database.h |
index c77500ccf88777e3d427c8050fe577b872b816cd..8f97e55be8f380955a30c24dde6a5ab4258e8615 100644 |
--- a/chrome/browser/history/download_database.h |
+++ b/chrome/browser/history/download_database.h |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "chrome/browser/history/history_types.h" |
+#include "sql/meta_table.h" |
struct DownloadPersistentStoreInfo; |
class FilePath; |
@@ -24,6 +25,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); |
@@ -63,6 +66,9 @@ class DownloadDatabase { |
bool DropDownloadTable(); |
private: |
+ int next_id_; |
+ sql::MetaTable meta_table_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DownloadDatabase); |
}; |