Chromium Code Reviews
Description[Sync] Convert SyncSessions to NonUIDataTypeController and remove UIDataTypeController
In this change I:
- Switched SessionDataTypeController to NonUIDataTypeController
- Refactored SessionsSyncManager to only dereference local_device_ in
MergeDataAndStartSyncing. This ensures that clearing local_device_ either
doesn't affect SessionsSyncManager or gets properly reproted.
- Since local event notifications can come between PSS::ShutdownImpl and
StopSyncing, MergeDataAndStartSyncing can fail because local_device_ was
cleared. I changed RebuildAssociations to recognize this and not to fail
DCHECK in OnLocalTabModified.
BUG=647505
R=maxbogue@chromium.org
Committed: https://crrev.com/d8529e23dd0a239bf2132178e0c7dc53b9010e58
Cr-Commit-Position: refs/heads/master@{#436394}
Patch Set 1 #Patch Set 2 : Fix SyncSessionsMetricsTest #
Messages
Total messages: 16 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||