Clear is replaced with ClearEntriesAddedWithin

This commit is contained in:
Cheng Zhao 2017-01-24 17:06:09 +09:00 committed by Kevin Sawicki
parent 8a6fd685e3
commit 411696ca19

View file

@ -371,7 +371,7 @@ void ClearAuthCacheInIO(
options.origin, options.realm, options.auth_scheme, options.origin, options.realm, options.auth_scheme,
net::AuthCredentials(options.username, options.password)); net::AuthCredentials(options.username, options.password));
} else { } else {
auth_cache->Clear(); auth_cache->ClearEntriesAddedWithin(base::TimeDelta::Max());
} }
} else if (options.type == "clientCertificate") { } else if (options.type == "clientCertificate") {
auto client_auth_cache = network_session->ssl_client_auth_cache(); auto client_auth_cache = network_session->ssl_client_auth_cache();