Closed Bug 1884995 Opened 1 month ago Closed 1 month ago

Create base BackupResource class

Categories

(Firefox :: Profile Backup, task, P1)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: fchasen, Assigned: fchasen)

References

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

Create a base BackupResource class that can be extended to register specific handlers for items to be backed up.

This will just have a measure method and static helper methods to allow for measurements of filesizes.

Summary: Add disk size measurements for places.sqlite and favicons.sqlite → Create a base BackupResource class
Summary: Create a base BackupResource class → Create base BackupResource class

Adds a BackupResource abstract class to be extended by more specific resource handlers and a BackupResources module which resources can be registered with.

The BackupResource base includes helpers to get the size of files and directories.

All registed resources will be provided to the BackupService constructor for it instantiate them.

Depends on: 1884407
Blocks: 1883642
Blocks: 1883655
Pushed by fchasen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4f4e70ebe00
Add BackupResource abstract class. r=mconley,backup-reviewers

Backed out for causing bc failures in browser_all_files_referenced.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 1, expected +0
Flags: needinfo?(fchasen)
Pushed by fchasen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/adc699108f42
Add BackupResource abstract class. r=mconley,backup-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Flags: needinfo?(fchasen)
Blocks: 1887724
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: