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

Unified Diff: net/quic/core/quic_connection_test.cc

Issue 2512833002: adds std:: to stl types (Closed)
Patch Set: Created 4 years, 1 month 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/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/core/quic_framer_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_test.cc
diff --git a/net/quic/core/quic_connection_test.cc b/net/quic/core/quic_connection_test.cc
index d8e97f8d32681f2aeea3f955c52e927cac2044d4..ad46914da5bbed56e037924fedbd0459e1dcd9af 100644
--- a/net/quic/core/quic_connection_test.cc
+++ b/net/quic/core/quic_connection_test.cc
@@ -369,27 +369,27 @@ class TestPacketWriter : public QuicPacketWriter {
size_t frame_count() const { return framer_.num_frames(); }
- const vector<QuicAckFrame>& ack_frames() const {
+ const std::vector<QuicAckFrame>& ack_frames() const {
return framer_.ack_frames();
}
- const vector<QuicStopWaitingFrame>& stop_waiting_frames() const {
+ const std::vector<QuicStopWaitingFrame>& stop_waiting_frames() const {
return framer_.stop_waiting_frames();
}
- const vector<QuicConnectionCloseFrame>& connection_close_frames() const {
+ const std::vector<QuicConnectionCloseFrame>& connection_close_frames() const {
return framer_.connection_close_frames();
}
- const vector<QuicRstStreamFrame>& rst_stream_frames() const {
+ const std::vector<QuicRstStreamFrame>& rst_stream_frames() const {
return framer_.rst_stream_frames();
}
- const vector<std::unique_ptr<QuicStreamFrame>>& stream_frames() const {
+ const std::vector<std::unique_ptr<QuicStreamFrame>>& stream_frames() const {
return framer_.stream_frames();
}
- const vector<QuicPingFrame>& ping_frames() const {
+ const std::vector<QuicPingFrame>& ping_frames() const {
return framer_.ping_frames();
}
@@ -664,8 +664,8 @@ struct TestParams {
};
// Constructs various test permutations.
-vector<TestParams> GetTestParams() {
- vector<TestParams> params;
+std::vector<TestParams> GetTestParams() {
+ std::vector<TestParams> params;
QuicVersionVector all_supported_versions = AllSupportedVersions();
for (size_t i = 0; i < all_supported_versions.size(); ++i) {
for (AckResponse ack_response :
@@ -1428,7 +1428,7 @@ TEST_P(QuicConnectionTest, RejectUnencryptedStreamData) {
EXPECT_QUIC_BUG(ProcessDataPacket(kDefaultPathId, 1, !kEntropyFlag), "");
EXPECT_FALSE(QuicConnectionPeer::GetConnectionClosePacket(&connection_) ==
nullptr);
- const vector<QuicConnectionCloseFrame>& connection_close_frames =
+ const std::vector<QuicConnectionCloseFrame>& connection_close_frames =
writer_->connection_close_frames();
EXPECT_EQ(1u, connection_close_frames.size());
EXPECT_EQ(QUIC_UNENCRYPTED_STREAM_DATA,
@@ -3118,7 +3118,7 @@ TEST_P(QuicConnectionTest, MtuDiscoveryFailed) {
// get caught as well.
const QuicPacketCount number_of_packets =
packets_between_probes_base * (1 << (kMtuDiscoveryAttempts + 1));
- vector<QuicPacketNumber> mtu_discovery_packets;
+ std::vector<QuicPacketNumber> mtu_discovery_packets;
// Called by the first ack.
EXPECT_CALL(visitor_, OnSuccessfulVersionNegotiation(_));
// Called on many acks.
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698