Fix bad cast from ResourceContext to ProfileIOData in ChromeContentBrowserClient.
In unit tests, this isn't true as the object is a MockResourceContext. For now the quick fix is to check for the safe browsing service being available before trying to add its throttle, as it isn't set in unit tests. Bug: 828062 Change-Id: Ibb2d65307b72f02fe1e0de27797ca834f01cb184 Reviewed-on: https://chromium-review.googlesource.com/990724Reviewed-by:Nasko Oskov <nasko@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#547522}
Showing
Please register or sign in to comment