• Mihai Sardarescu's avatar
    [unity] Add unit test for the unified consent service · 86a4c8ec
    Mihai Sardarescu authored
    This CL adds a unit tests for the unified consent service. The current
    tests only covers the non-personalized services. It should be enhanced
    to also include the sync-related part once teh unified consent starts
    managing the sync state.
    
    This CL also makes the following changes:
    * replaces the dependencies of the service on profile_sync_service
    with a dependency on the more generic sync_service
    * enabled Url-keyed anonymized data collection when unified consent
    is enabled.
    
    Bug: 823809
    Change-Id: I2ab27429272ecccfbd254ffc4100234ce95623df
    Reviewed-on: https://chromium-review.googlesource.com/1122858
    Commit-Queue: Mihai Sardarescu <msarda@chromium.org>
    Reviewed-by: default avatarThomas Tangl <tangltom@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#572155}
    86a4c8ec
unified_consent_service.cc 3.6 KB