• zea's avatar
    [Sync] Move DataTypeStatusTable ownership into DataTypeManager. · fe2ae5fb
    zea authored
    The DataTypeManager now maintains its own status table, which it posts a copy
    of on each configuration completion. This makes testing configuration results
    easier as we can now just check the type status table, and makes the DTM
    more self contained.
    
    To make this work a HistoryDeleteDirectives datatype controller was added to
    encapsulate the encryption dependency the type has. Additionally, the PSS
    is now able to tell the DTM to reset type errors (e.g. when the user is attempting
    to re-configure with or without certain types).
    
    BUG=368834
    
    Review URL: https://codereview.chromium.org/523043005
    
    Cr-Commit-Position: refs/heads/master@{#292962}
    fe2ae5fb
profile_sync_service_unittest.cc 21.9 KB