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

Unified Diff: chrome/browser/history/history_types.h

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased Created 9 years, 5 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
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;
« no previous file with comments | « chrome/browser/history/history_marshaling.h ('k') | chrome/browser/renderer_host/download_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698