Commit 92c1554d authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Consolidate lists in chrome/browser/prefs/browser_prefs.cc.

In browser_prefs.cc, both RegisterLocalState() and
RegisterProfilePrefs() have lists of registration functions to call.
Over time, these pile up so there are now repeated #if cond blocks.
Consolidate those and also alphabetize some of the lists that are
clearly unsorted. Fix a lint error as well.

Change-Id: Ifef2f127fe59e9571bf693efa0421789b0a2cfb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994670Reviewed-by: default avatarDominic Battré <battre@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730197}
parent 89d813aa
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment