Index: ios/net/cookies/cookie_store_ios_test_util.mm |
diff --git a/ios/net/cookies/cookie_store_ios_test_util.mm b/ios/net/cookies/cookie_store_ios_test_util.mm |
index 3e71942a877743c8373ea4d448a46bc005a7f673..b39c31219c149811df384dc4aaf08bd2017c4202 100644 |
--- a/ios/net/cookies/cookie_store_ios_test_util.mm |
+++ b/ios/net/cookies/cookie_store_ios_test_util.mm |
@@ -80,7 +80,7 @@ void TestPersistentCookieStore::DeleteCookie(const net::CanonicalCookie& cc) {} |
void TestPersistentCookieStore::SetForceKeepSessionState() {} |
-void TestPersistentCookieStore::Flush(const base::Closure& callback) { |
+void TestPersistentCookieStore::Flush(base::OnceClosure callback) { |
flushed_ = true; |
} |