Commit 23343e59 authored by Ali Juma's avatar Ali Juma Committed by Commit Bot

[iOS] Fix unit tests that fail when Safe Browsing is enabled

This CL makes FakeSafeBrowsingService::ClearCookies call
the callback it is given, fixing BrowsingDataRemoverImplTests
when Safe Browsing is enabled by default.

Bug: 1028755
Change-Id: Id586113c49a62133de4568b3dce35b9cdf17cae3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438733
Commit-Queue: Ali Juma <ajuma@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Auto-Submit: Ali Juma <ajuma@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811862}
parent 9972cfe3
......@@ -90,4 +90,5 @@ void FakeSafeBrowsingService::ClearCookies(
const net::CookieDeletionInfo::TimeRange& creation_range,
base::OnceClosure callback) {
DCHECK_CURRENTLY_ON(web::WebThread::UI);
std::move(callback).Run();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment