Closed Bug 1570575 Opened 5 years ago Closed 5 years ago

Some libpref clean-ups

Categories

(Core :: Preferences: Backend, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(2 files)

No description provided.

This commit:

  • improves the wording of some comments;

  • renames UpdatePolicy as MirrorKind, to reflect the new terminology we are
    starting to use;

  • does a couple of other minor clean-ups.

Depends on D40151

This commit removes MirrorKind by splitting the VARCACHE_PREF macros in
two, giving ALWAYS_PREF and ONCE_PREF macros. This is good because most of
the time the generated code is quite different for the two cases.

The commit also removes the examples of code produced by the macros in
comments. These are kind of useful, but also quite verbose and a pain to
maintain.

Depends on D40161

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → n.nethercote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: