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

Unified Diff: net/test/embedded_test_server/embedded_test_server.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/ssl/channel_id_service.cc ('k') | net/tools/epoll_server/epoll_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/embedded_test_server.cc
diff --git a/net/test/embedded_test_server/embedded_test_server.cc b/net/test/embedded_test_server/embedded_test_server.cc
index 28b65a5afd412d5fe17ae7f99d17bd2b2dd28d5b..83f15f36357f460eaa549b4b667fc95345e15266 100644
--- a/net/test/embedded_test_server/embedded_test_server.cc
+++ b/net/test/embedded_test_server/embedded_test_server.cc
@@ -170,8 +170,8 @@ void EmbeddedTestServer::ShutdownOnIOThread() {
DCHECK(io_thread_->task_runner()->BelongsToCurrentThread());
weak_factory_.InvalidateWeakPtrs();
listen_socket_.reset();
- STLDeleteContainerPairSecondPointers(connections_.begin(),
- connections_.end());
+ base::STLDeleteContainerPairSecondPointers(connections_.begin(),
+ connections_.end());
connections_.clear();
}
@@ -343,8 +343,8 @@ bool EmbeddedTestServer::FlushAllSocketsAndConnectionsOnUIThread() {
}
void EmbeddedTestServer::FlushAllSocketsAndConnections() {
- STLDeleteContainerPairSecondPointers(connections_.begin(),
- connections_.end());
+ base::STLDeleteContainerPairSecondPointers(connections_.begin(),
+ connections_.end());
connections_.clear();
}
« no previous file with comments | « net/ssl/channel_id_service.cc ('k') | net/tools/epoll_server/epoll_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698