Commit c5cdc91f authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Convert base::Callback in chrome/browser/browsing_data/

This CL converts base::Callback to base::RepeatingCallback.

This is a code health CL, no behavior change.

Bug: 1007635
Change-Id: I21172626d70e18e26df5d8d79b453884e30abd66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275482
Commit-Queue: Xida Chen <xidachen@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Auto-Submit: Xida Chen <xidachen@chromium.org>
Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783932}
parent 8852d78c
...@@ -2052,7 +2052,7 @@ TEST_F(ChromeBrowsingDataRemoverDelegateTest, ...@@ -2052,7 +2052,7 @@ TEST_F(ChromeBrowsingDataRemoverDelegateTest,
TEST_F(ChromeBrowsingDataRemoverDelegateTest, TEST_F(ChromeBrowsingDataRemoverDelegateTest,
RemoveCompromisedCredentialsByTimeOnly) { RemoveCompromisedCredentialsByTimeOnly) {
RemovePasswordsTester tester(GetProfile()); RemovePasswordsTester tester(GetProfile());
base::Callback<bool(const GURL&)> empty_filter; base::RepeatingCallback<bool(const GURL&)> empty_filter;
EXPECT_CALL(*tester.store(), RemoveCompromisedCredentialsByUrlAndTimeImpl( EXPECT_CALL(*tester.store(), RemoveCompromisedCredentialsByUrlAndTimeImpl(
ProbablySameFilter(empty_filter), ProbablySameFilter(empty_filter),
......
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