Open Bug 1920487 Opened 8 days ago Updated 8 days ago

QM: Rename helpers for resolving nsresult type

Categories

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

task

Tracking

()

ASSIGNED

People

(Reporter: janv, Assigned: janv)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Attachments

(1 file)

NSResultResponseResolver and ResolveNSResultResponseAndReturn have been added in bug 1888878:
https://searchfox.org/mozilla-central/rev/466db50bfdddc209f068e281e552a2583d82f958/dom/quota/ErrorHandling.h#32
https://hg.mozilla.org/mozilla-central/rev/64f683ef6d141b708aaf7b32f5ce29df9d9ccdb6#l5.12

However, existing helpers like BoolResponseResolver have Response in the name because they are intended for types with the Response substring in the name.

So, NSResultResponseResolver should be renamed to NSResultResolver and ResolveNSResultResponseAndReturn to ResolveNSResultAndReturn.

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

Attachment

General

Created:
Updated:
Size: