Index: chrome/browser/history/history_types.h |
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h |
index 262d64348ce46f9bd0d7d71c891aaffc0bdb8e1c..11360c37397a04d42f50fd3c47c3cc147f85c767 100644 |
--- a/chrome/browser/history/history_types.h |
+++ b/chrome/browser/history/history_types.h |
@@ -13,6 +13,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
+#include "base/callback.h" |
#include "base/memory/ref_counted_memory.h" |
#include "base/stack_container.h" |
#include "base/string16.h" |
@@ -23,6 +24,7 @@ |
#include "chrome/common/thumbnail_score.h" |
#include "content/common/page_transition_types.h" |
#include "googleurl/src/gurl.h" |
+#include "chrome/browser/history/download_history_info.h" |
namespace history { |
@@ -44,6 +46,18 @@ typedef int64 FaviconID; // For favicons. |
typedef int64 SegmentID; // URL segments for the most visited view. |
typedef int64 IconMappingID; // For page url and icon mapping. |
+ |
+struct DownloadQueryParameters { |
+ typedef base::Callback<int()> GetNextIdThunk; |
+ |
+ DownloadQueryParameters() {} |
+ ~DownloadQueryParameters() {} |
+ |
+ GetNextIdThunk get_next_id; |
+ std::vector<DownloadHistoryInfo> results; |
+ // Allow copy and assign. |
+}; |
+ |
// URLRow --------------------------------------------------------------------- |
typedef int64 URLID; |