support for downloads in history
This commit is contained in:
1 parent
9a0c00f842
commit
e20cb336b1
6 files changed
+128
-10
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user