Commit acd6c2bd authored by Renjie Tang's avatar Renjie Tang Committed by Commit Bot

Convert base::Callback to base::RepeatingCallback in ios/net

This is part of the base::Callback migration.

Context: https://cs.chromium.org/chromium/src/docs/callback.md?rcl=9fcc3764aea8f97e9f6de4a9ee61d554e67edcda&l=40


Bug: 1007794
Change-Id: I6ce90efd8b8e29514c58e866316e84e487c324d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500442Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Commit-Queue: Renjie Tang <renjietang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821299}
parent eae16660
......@@ -15,12 +15,6 @@ class AuthChallengeInfo;
class URLRequest;
} // namespace net
namespace network_client {
typedef base::Callback<void(bool auth_ok,
const base::string16& username,
const base::string16& password)> AuthCallback;
} // namespace network_client
// CRNNetworkClientProtocol provides an interface for delegate classes that
// receive calls about data loading from the Chromium network stack.
// Many methods in this protocol correspond to the NSURLProtocol methods, and
......
......@@ -71,7 +71,8 @@ void ClearHttpCacheOnIOThread(
// Clear QUIC server information from memory and the disk cache.
http_cache->GetSession()
->quic_stream_factory()
->ClearCachedStatesInCryptoConfig(base::Callback<bool(const GURL&)>());
->ClearCachedStatesInCryptoConfig(
base::RepeatingCallback<bool(const GURL&)>());
std::unique_ptr<disk_cache::Backend*> backend(
new disk_cache::Backend*(nullptr));
......
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