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

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

Issue 2464683002: adds std:: to stl types (#049) (Closed)
Patch Set: remove dead using std::foo declarations. Created 4 years, 2 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_received_packet_manager.cc ('k') | net/quic/core/quic_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_received_packet_manager_test.cc
diff --git a/net/quic/core/quic_received_packet_manager_test.cc b/net/quic/core/quic_received_packet_manager_test.cc
index acc9c0fea374d5905a5a1b7410a1ffff7df65b70..65f0a84890e9dbb33dae73a623ce1363d58a00c8 100644
--- a/net/quic/core/quic_received_packet_manager_test.cc
+++ b/net/quic/core/quic_received_packet_manager_test.cc
@@ -13,9 +13,6 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-using std::pair;
-using std::vector;
-
namespace net {
namespace test {
@@ -197,8 +194,8 @@ struct TestParams {
QuicVersion version;
};
-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) {
params.push_back(TestParams(all_supported_versions[i]));
@@ -239,7 +236,7 @@ TEST_P(QuicReceivedPacketManagerTest, ReceivedPacketEntropyHash) {
if (GetParam().version > QUIC_VERSION_33) {
return;
}
- vector<pair<QuicPacketNumber, QuicPacketEntropyHash>> entropies;
+ std::vector<std::pair<QuicPacketNumber, QuicPacketEntropyHash>> entropies;
entropies.push_back(std::make_pair(1, 12));
entropies.push_back(std::make_pair(7, 1));
entropies.push_back(std::make_pair(2, 33));
@@ -291,7 +288,7 @@ TEST_P(QuicReceivedPacketManagerTest, SetCumulativeEntropyUpTo) {
if (GetParam().version > QUIC_VERSION_33) {
return;
}
- vector<pair<QuicPacketNumber, QuicPacketEntropyHash>> entropies;
+ std::vector<std::pair<QuicPacketNumber, QuicPacketEntropyHash>> entropies;
entropies.push_back(std::make_pair(1, 12));
entropies.push_back(std::make_pair(2, 1));
entropies.push_back(std::make_pair(3, 33));
« no previous file with comments | « net/quic/core/quic_received_packet_manager.cc ('k') | net/quic/core/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698