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

Unified Diff: net/tools/quic/quic_simple_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/quic/quic_in_memory_cache_test.cc ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_client.cc
diff --git a/net/tools/quic/quic_simple_client.cc b/net/tools/quic/quic_simple_client.cc
index aec9129a1aba180e55f75984684cebaab2ceb742..156d0716cf129b29a5566e374956a7239e9e55fa 100644
--- a/net/tools/quic/quic_simple_client.cc
+++ b/net/tools/quic/quic_simple_client.cc
@@ -78,8 +78,8 @@ QuicSimpleClient::~QuicSimpleClient() {
QUIC_PEER_GOING_AWAY, "Shutting down",
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_);
}
bool QuicSimpleClient::Initialize() {
@@ -181,7 +181,7 @@ bool QuicSimpleClient::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) {
@@ -238,8 +238,8 @@ void QuicSimpleClient::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_);
reset_writer();
packet_reader_.reset();
@@ -277,7 +277,7 @@ void QuicSimpleClient::MaybeAddQuicDataToResend(
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/quic/quic_in_memory_cache_test.cc ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698