Description[Sync] Add support for immediately enabling/disabling wallet datatype
This patch modifies the wallet datatype to always have a datatype controller,
and give that datatype controller the responsibility of enabling and disabling
the datatype as necessary. If the sync experiment pref is disabled, the datatype
will not start up, and if it's already started will turn itself off. Similarly, if the
experiment is enabled, the datatype is capable of starting itself up.
BUG=470362
Committed: https://crrev.com/e62811208dcf694cb28c24b87eda1570fb45a06e
Cr-Commit-Position: refs/heads/master@{#322274}
Patch Set 1 #Patch Set 2 : Fix up logic and add tests #Patch Set 3 : Self review #Patch Set 4 : Fix unit tests #
Total comments: 11
Patch Set 5 : Address comments #Patch Set 6 : No really fix android? #Patch Set 7 : Fix migration and android tests #
Total comments: 2
Messages
Total messages: 18 (6 generated)
|