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

Unified Diff: net/quic/core/quic_connection.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/quic/core/quic_buffered_packet_store.cc ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 958b71233d696351d356972a345ac780deb6207d..5b3adb0d4d78515ce9884f9387cd779097c1b663 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -338,7 +338,7 @@ QuicConnection::~QuicConnection() {
if (owns_writer_) {
delete writer_;
}
- STLDeleteElements(&undecryptable_packets_);
+ base::STLDeleteElements(&undecryptable_packets_);
ClearQueuedPackets();
}
@@ -443,7 +443,7 @@ bool QuicConnection::SelectMutualVersion(
const QuicVersionVector& supported_versions = framer_.supported_versions();
for (size_t i = 0; i < supported_versions.size(); ++i) {
const QuicVersion& version = supported_versions[i];
- if (ContainsValue(available_versions, version)) {
+ if (base::ContainsValue(available_versions, version)) {
framer_.set_version(version);
return true;
}
@@ -562,7 +562,7 @@ void QuicConnection::OnVersionNegotiationPacket(
return;
}
- if (ContainsValue(packet.versions, version())) {
+ if (base::ContainsValue(packet.versions, version())) {
const string error_details =
"Server already supports client's version and should have accepted the "
"connection.";
@@ -2024,7 +2024,7 @@ void QuicConnection::MaybeProcessUndecryptablePackets() {
debug_visitor_->OnUndecryptablePacket();
}
}
- STLDeleteElements(&undecryptable_packets_);
+ base::STLDeleteElements(&undecryptable_packets_);
}
}
« no previous file with comments | « net/quic/core/quic_buffered_packet_store.cc ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698