There are now two components that are clients of the subresource_filter specific Safe Browsing check: the popup blocker and the ad filter code.
It would be nice to move this navigation check (handled currently via a NavigationThrottle) into Safe Browsing proper, so that popup blocker code doesn't need to depend on ad filter code.
This check is implemented in subresource_filter_safe_browsing_activation_throttle.cc.
It is my understanding that in the network service world, SafeBrowsing navigation checks will be handled by a NavigationThrottle. Possibly this integration could integrate with that work.
Varun: WDYT about this?
Comment 1 by vakh@chromium.org
, Apr 6 2018