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

Unified Diff: net/tools/quic/quic_client.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/tools/epoll_server/epoll_server.cc ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index c279720249904a55942e73e90f04958a1e656c9a..5808caab65f66aabc7174b8e13d273b9fb494784 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -89,8 +89,8 @@ QuicClient::~QuicClient() {
ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
}
- STLDeleteElements(&data_to_resend_on_connect_);
- STLDeleteElements(&data_sent_before_handshake_);
+ base::STLDeleteElements(&data_to_resend_on_connect_);
+ base::STLDeleteElements(&data_sent_before_handshake_);
CleanUpAllUDPSockets();
}
@@ -193,7 +193,7 @@ bool QuicClient::Connect() {
for (QuicDataToResend* data : data_to_resend_on_connect_) {
data->Resend();
}
- STLDeleteElements(&data_to_resend_on_connect_);
+ base::STLDeleteElements(&data_to_resend_on_connect_);
}
if (session() != nullptr &&
session()->error() != QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT) {
@@ -252,8 +252,8 @@ void QuicClient::Disconnect() {
QUIC_PEER_GOING_AWAY, "Client disconnecting",
ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
}
- STLDeleteElements(&data_to_resend_on_connect_);
- STLDeleteElements(&data_sent_before_handshake_);
+ base::STLDeleteElements(&data_to_resend_on_connect_);
+ base::STLDeleteElements(&data_sent_before_handshake_);
CleanUpAllUDPSockets();
@@ -320,7 +320,7 @@ void QuicClient::MaybeAddQuicDataToResend(QuicDataToResend* data_to_resend) {
if (session()->IsCryptoHandshakeConfirmed()) {
// The handshake is confirmed. No need to continue saving requests to
// resend.
- STLDeleteElements(&data_sent_before_handshake_);
+ base::STLDeleteElements(&data_sent_before_handshake_);
delete data_to_resend;
return;
}
« no previous file with comments | « net/tools/epoll_server/epoll_server.cc ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698