Add Autoblocker function to get all actively embargoed origins for permission
Previously within the GetAllSites handler encapsulation was broken by reaching directly into ContentSettingsType::PERMISSION_AUTOBLOCKER_DATA raw data to determine which sites were under embargo. As part of the privacy settings redesign, additional handlers will be interested in this information. This CL extends the permission_decision_auto_blocker to provide this functionality itself and refactors the GetAllSites handler to use it. Bug: 1032584 Change-Id: I57632a4272896ad98079bede96d660578bf1a179 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013118Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by:
Balazs Engedy <engedy@chromium.org> Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com> Cr-Commit-Position: refs/heads/master@{#736000}
Showing
Please register or sign in to comment