Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: net/http/http_network_session.cc

Issue 2229393003: net: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_cache.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 8fe401cb207700aefbf8a86972d0bade12625f84..fe66a8dbc5e568dd9121e933b7879b3d0a7d7f05 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -246,18 +246,18 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
}
HttpNetworkSession::~HttpNetworkSession() {
- STLDeleteElements(&response_drainers_);
+ base::STLDeleteElements(&response_drainers_);
spdy_session_pool_.CloseAllSessions();
}
void HttpNetworkSession::AddResponseDrainer(HttpResponseBodyDrainer* drainer) {
- DCHECK(!ContainsKey(response_drainers_, drainer));
+ DCHECK(!base::ContainsKey(response_drainers_, drainer));
response_drainers_.insert(drainer);
}
void HttpNetworkSession::RemoveResponseDrainer(
HttpResponseBodyDrainer* drainer) {
- DCHECK(ContainsKey(response_drainers_, drainer));
+ DCHECK(base::ContainsKey(response_drainers_, drainer));
response_drainers_.erase(drainer);
}
« no previous file with comments | « net/http/http_cache.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698