Open Bug 1866355 Opened 1 year ago

Extend deleteHistory of PlacesHistoryStorage

Categories

(Application Services :: Places, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: markh, Unassigned)

Details

From github: https://github.com/mozilla/application-services/issues/4973.

Relates to jira ticket ..FNXV2-19087

Background:
We are adding a new synced history screen in the android app. After coming to the history screen, users will see only local history, having a synced history button. Clicking it will lead to another history screen, with the synced from other devices items.
Both screens have a "remove all" button, and we would like them to behave differently. Currently, deleteEverything method does what it says, but we need a way to delete everything that appeared on the synced history screen.

Requirements:
PlacesHistoryStorage has a method deleteEverything(). We would like to extend it to accept is_remote parameter, so we could have control over what HistoryVisitInfo would be deleted.

┆Issue is synchronized with this Jira Task
┆epic: MR2 History Metadata Sync support

Change performed by the Move to Bugzilla add-on.

You need to log in before you can comment on or make changes to this bug.