support for downloads in history

This commit is contained in:
Fabian Freund
2025-09-26 16:31:07 +02:00
parent 9a0c00f842
commit e20cb336b1
6 changed files with 128 additions and 10 deletions
@@ -425,6 +425,8 @@ class VisitInfo {
final String? previewImageUrl;
final bool isRemote;
final String? contentId;
VisitInfo(
this.url,
this.title,
@@ -432,6 +434,7 @@ class VisitInfo {
this.visitType,
this.previewImageUrl,
this.isRemote,
this.contentId,
);
}
@@ -1253,6 +1256,9 @@ abstract class GeckoHistoryApi {
@async
void deleteVisit(String url, int timestamp);
@async
void deleteDownload(String id);
@async
void deleteVisitsBetween(int startMillis, int endMillis);
}