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

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, 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
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 6d50cc18f68ebc0dcb8f6be4751bcbb7353e24af..d44832a34f6de7047861a613a3c416216523fc5e 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -26,11 +26,8 @@
class BookmarkService;
class TestingProfile;
-struct ThumbnailScore;
-
-namespace content {
struct DownloadPersistentStoreInfo;
-}
+struct ThumbnailScore;
namespace history {
#if defined(OS_ANDROID)
@@ -280,15 +277,11 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void GetNextDownloadId(scoped_refptr<DownloadNextIdRequest> request);
void QueryDownloads(scoped_refptr<DownloadQueryRequest> request);
void CleanUpInProgressEntries();
- void UpdateDownload(const content::DownloadPersistentStoreInfo& data);
- void UpdateDownloadPath(const FilePath& path, int64 db_handle);
+ void UpdateDownload(const DownloadPersistentStoreInfo& data);
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);
+ const DownloadPersistentStoreInfo& info);
+ void RemoveDownloads(const std::set<int64>& handles);
// Segment usage -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698