Previously, onPrefsChanged was a no op. This CL implements functionality for notifying listeners on the event when a pref has changed.
In the process:
- pull out shared logic into a prefs util namespace.
- simplify the whitelisting logic so there is only one GetWhitelistedPrefs method and not a CrOS-specific one.
BUG=
468093
Committed:
https://crrev.com/a22ce7ae22a39dd3c1693a082b727a4d725fe306
Cr-Commit-Position: refs/heads/master@{#324083}