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

Unified Diff: chrome/browser/history/history.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
« no previous file with comments | « chrome/browser/history/download_history_info.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 131ef95f06963a560b84cab1ea21b0c23e7b541e..75f99f2f1f88fffa35f4ec4833db8a86efa7ff5a 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -414,8 +414,7 @@ class HistoryService : public CancelableRequestProvider,
// Implemented by the caller of 'CreateDownload' below, and is called when the
// history service has created a new entry for a download in the history db.
- typedef Callback2<int32, int64>::Type
- DownloadCreateCallback;
+ typedef Callback1<int32/*id*/>::Type DownloadCreateCallback;
// Begins a history request to create a new persistent entry for a download.
// 'info' contains all the download's creation state, and 'callback' runs
@@ -435,6 +434,7 @@ class HistoryService : public CancelableRequestProvider,
// at which point 'info' contains an array of DownloadHistoryInfo, one per
// download.
Handle QueryDownloads(CancelableRequestConsumerBase* consumer,
+ history::DownloadQueryParameters::GetNextIdThunk gnit,
DownloadQueryCallback* callback);
// Begins a request to clean up entries that has been corrupted (because of
« no previous file with comments | « chrome/browser/history/download_history_info.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698