Closed Bug 1839417 Opened 1 year ago Closed 1 year ago

Move some code related to origin operations to separate source files

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

dom/quota/ActorsParent.cpp is already quite big and the code related to origin operations needs to be heavily adjusted for bug 1749504 and then bug 1671932. It would be good to move the code to separate source files, so it will be easier to find relevant code and track dependencies.

Keywords: leave-open

This is done in a separate patch before operations are actually moved outside
ActorsParent.cpp

Depends on D181476

QuotaManager::CollectPendingOriginsForListing is a public template function so
it shouldn't be implemented in a cpp file.
(needed for moving operations outside ActorsParent.cpp)

Depends on D181477

(needed for moving operations outside ActorsParent.cpp)

Depends on D181478

(needed for moving operations outside ActorsParent.cpp)

Depends on D181479

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c05804783908 Remove duplicated code for assertions; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/c81f0e408508 Move RegisterNormalOriginOp/UnregisterNormalOriginOp to QuotaManager; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/193493b296e0 Move QuotaManager::CollectPendingOriginsForListing implementation to QuotaManagerImpl.h; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/6f275561722e Move sanitization methods to separate files; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/e975cb149fac Move stream helpers to separate files; r=dom-storage-reviewers,asuth
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24f10ad45ba3 Remove duplicated code for assertions; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/90815a533676 Move RegisterNormalOriginOp/UnregisterNormalOriginOp to QuotaManager; r=dom-storage-reviewers,asuth

The issue with base tool chains has been fixed and some patches relanded.

Flags: needinfo?(jvarga)
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e8c4a208399 Move QuotaManager::CollectPendingOriginsForListing implementation to QuotaManagerImpl.h; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/46f540d28d15 Move sanitization methods to separate files; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/4f7deb118e0b Move stream helpers to separate files; r=dom-storage-reviewers,asuth
Summary: Move all code related to origin operations to separate source files → Refactor and move all code related to origin operations to separate source files
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Keywords: leave-open
Resolution: --- → FIXED
Summary: Refactor and move all code related to origin operations to separate source files → Move some code related to origin operations to separate source files
See Also: → 1840545
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: