Index: components/browsing_data/storage_partition_http_cache_data_remover.cc |
diff --git a/components/browsing_data/storage_partition_http_cache_data_remover.cc b/components/browsing_data/storage_partition_http_cache_data_remover.cc |
index fabde8efbcfce6ca2636db93fa7c009b449be9de..cdca65cfab61148eb385c341f60c39e0d8d38ccd 100644 |
--- a/components/browsing_data/storage_partition_http_cache_data_remover.cc |
+++ b/components/browsing_data/storage_partition_http_cache_data_remover.cc |
@@ -152,6 +152,13 @@ void StoragePartitionHttpCacheDataRemover::DoClearCache(int rv) { |
? STATE_PROCESS_MAIN |
: STATE_PROCESS_MEDIA; |
+ // Clear HTTP auth data. |
+ net::HttpNetworkSession* http_session = getter->GetURLRequestContext() |
+ ->http_transaction_factory() |
+ ->GetSession(); |
+ if (http_session) |
+ http_session->http_auth_cache()->Clear(delete_begin_, delete_end_); |
+ |
// Clear QUIC server information from memory and the disk cache. |
http_cache->GetSession() |
->quic_stream_factory() |