DescriptionConvert PrefSyncStatus into PrefRegistrationFlags
This converts the PrefSyncStatus enum which is passed at registration time of
a syncable pref into a more general "registration flags" mechansim for prefs.
PrefRegistrationFlags is an enum used in a bitmask to indicate different
options which can be passed when registering a pref.
Subclasses of PrefRegistry can use the first 8 bits of PrefRegistrationFlags
to specify their own flags. These are used by PrefRegistrySyncable to
specify whether or not the pref is syncable.
In a subsequent CL we plan to add a flag to indicate whether the pref is
"lossy" (see the bug linked).
BUG=476800
Committed: https://crrev.com/51b41a6f25281c3d7378eb21a69e4fcacc8d13f2
Cr-Commit-Position: refs/heads/master@{#326727}
Patch Set 1 #Patch Set 2 : #
Total comments: 11
Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Total comments: 2
Patch Set 6 : #Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #
Messages
Total messages: 20 (6 generated)
|