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

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

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix merge Created 9 years, 4 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_database.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 120d764e99e8a86356e6134d530d9e5862d33053..0a09a6adaf3bbf8f86e7c4ae44d1b7d237a20119 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -423,6 +423,13 @@ class HistoryService : public CancelableRequestProvider,
CancelableRequestConsumerBase* consumer,
DownloadCreateCallback* callback);
+ // Implemented by the caller of 'GetNextDownloadId' below.
+ typedef Callback1<int/*next_download_id*/>::Type DownloadNextIdCallback;
+
+ // Runs the callback with the next available download id.
+ Handle GetNextDownloadId(CancelableRequestConsumerBase* consumer,
+ DownloadNextIdCallback* callback);
+
// Implemented by the caller of 'QueryDownloads' below, and is called when the
// history service has retrieved a list of all download state. The call
typedef Callback1<std::vector<DownloadPersistentStoreInfo>*>::Type
« no previous file with comments | « chrome/browser/history/download_database.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698