Chromium change:
brave/chromium@b244bd1
[Android] Assorted refactors of SharedPreferencesManager
- Make BaseChromePreferenceKeyChecker into a PreferenceKeyChecker
interface + NoOp impl for clarity.
- Simplify selection of which PreferenceKeyChecker to use.
- Remove StrictModeContext exceptions since there's another mechanism
to disable them for SharedPreferences.
- Other minor tweaks.
Preparing for move to //base.
Bug: 1483409