• Raymes Khoury's avatar
    Add more tests to SearchPermissionsService · 8b6f374d
    Raymes Khoury authored
    This adds more tests to SearchPermissionsService to test:
    -The cases where the kGrantNotificationsToDSE flag is disabled
    -The case where the kGrantNotificationsToDSE is enabled and then changes
    back to disabled.
    
    This also fixes a bug where resetting DSE notifications permissions
    would happen even when the feature flag was disabled.
    
    Bug: 799534
    Change-Id: I907f03308936a1a502fa9fba04aae80325c3a3ee
    Reviewed-on: https://chromium-review.googlesource.com/813140Reviewed-by: default avatarBen Wells <benwells@chromium.org>
    Commit-Queue: Raymes Khoury <raymes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#522362}
    8b6f374d
search_permissions_service.cc 19.1 KB