• vitaliii's avatar
    [Sync::Consent] Don't link UserEventService if separate datatype is used. · 26fa7866
    vitaliii authored
    Previously ConsentAuditor did get UserEventService even when the
    separate consents datatype was used. In this CL, the UserEventService is
    just not requested from ConsentAuditor factory at all in this case (on
    all platforms). Also DCHECKs in ConsentAuditor are adjusted to check only
    the correct dependency based on the feature.
    
    Bug: 851438
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
    Change-Id: I756e595b826e084d1b2f9905d2827cae1160fedd
    Reviewed-on: https://chromium-review.googlesource.com/1124333Reviewed-by: default avatarMarkus Heintz <markusheintz@chromium.org>
    Commit-Queue: vitaliii <vitaliii@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#572580}
    26fa7866
consent_auditor.cc 7.94 KB