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

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

Issue 10665049: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 4346d82fe65b85f7b3ec0ff61596fb532723e2e5..1c1d2dbd332e1f155fe47fad84cb4af97960268e 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -27,11 +27,8 @@
class BookmarkService;
class TestingProfile;
-struct ThumbnailScore;
-
-namespace content {
struct DownloadPersistentStoreInfo;
-}
+struct ThumbnailScore;
namespace history {
#if defined(OS_ANDROID)
@@ -292,17 +289,15 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// Downloads -----------------------------------------------------------------
void GetNextDownloadId(scoped_refptr<DownloadNextIdRequest> request);
- void QueryDownloads(scoped_refptr<DownloadQueryRequest> request);
+ void QueryDownloads(const HistoryService::DownloadQueryCallback& callback);
void CleanUpInProgressEntries();
- void UpdateDownload(const content::DownloadPersistentStoreInfo& data);
- void UpdateDownloadPath(const FilePath& path, int64 db_handle);
- void CreateDownload(scoped_refptr<DownloadCreateRequest> request,
- int32 id,
- const content::DownloadPersistentStoreInfo& info);
- void RemoveDownload(int64 db_handle);
- void RemoveDownloadsBetween(const base::Time remove_begin,
- const base::Time remove_end);
- void RemoveDownloads(const base::Time remove_end);
+ void UpdateDownload(const DownloadPersistentStoreInfo& data);
+ void CreateDownload(const DownloadPersistentStoreInfo& info,
+ const HistoryService::DownloadCreateCallback& callback);
+ void GetVisibleVisitCountToHostSimple(
+ const GURL& url,
+ const HistoryService::GetVisibleVisitCountToHostSimpleCallback& callback);
+ void RemoveDownloads(const std::set<int64>& handles);
// Segment usage -------------------------------------------------------------
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698