Index: chrome/browser/history/download_database.h |
diff --git a/chrome/browser/history/download_database.h b/chrome/browser/history/download_database.h |
index bef60a1bc5cedaaceea235828407b2d6f2d0dee3..b777e84f051b2636724d1c4b63809d800448f80b 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 DownloadHistoryInfo; |
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<DownloadHistoryInfo>* results); |
@@ -63,6 +66,9 @@ class DownloadDatabase { |
bool DropDownloadTable(); |
private: |
+ int next_id_; |
+ sql::MetaTable meta_table_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DownloadDatabase); |
}; |