summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r--net/http/http_cache.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index b6a8bc33..ffc941c 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -1680,6 +1680,12 @@ HttpCache* HttpCache::GetCache() {
return this;
}
+HttpNetworkSession* HttpCache::GetSession() {
+ net::HttpNetworkLayer* network =
+ static_cast<net::HttpNetworkLayer*>(network_layer_.get());
+ return network->GetSession();
+}
+
void HttpCache::Suspend(bool suspend) {
network_layer_->Suspend(suspend);
}