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

Unified Diff: net/quic/core/crypto/quic_crypto_server_config_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.cc ('k') | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/quic_crypto_server_config_test.cc
diff --git a/net/quic/core/crypto/quic_crypto_server_config_test.cc b/net/quic/core/crypto/quic_crypto_server_config_test.cc
index 48763647761dca6fcbd3e218d382eb779d343150..dc816a01aebfa3d26425ce6c595210a6e616e8ce 100644
--- a/net/quic/core/crypto/quic_crypto_server_config_test.cc
+++ b/net/quic/core/crypto/quic_crypto_server_config_test.cc
@@ -79,7 +79,7 @@ TEST(QuicCryptoServerConfigTest, ServerConfig) {
const QuicTag* aead_tags;
size_t aead_len;
ASSERT_EQ(QUIC_NO_ERROR, message->GetTaglist(kAEAD, &aead_tags, &aead_len));
- vector<QuicTag> aead(aead_tags, aead_tags + aead_len);
+ std::vector<QuicTag> aead(aead_tags, aead_tags + aead_len);
EXPECT_THAT(aead, ::testing::Contains(kAESG));
EXPECT_LE(1u, aead.size());
}
@@ -109,7 +109,7 @@ TEST(QuicCryptoServerConfigTest, CompressCerts) {
CryptoTestUtils::ProofSourceForTesting());
QuicCryptoServerConfigPeer peer(&server);
- vector<string> certs = {"testcert"};
+ std::vector<string> certs = {"testcert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string compressed = QuicCryptoServerConfigPeer::CompressChain(
@@ -128,7 +128,7 @@ TEST(QuicCryptoServerConfigTest, CompressSameCertsTwice) {
QuicCryptoServerConfigPeer peer(&server);
// Compress the certs for the first time.
- vector<string> certs = {"testcert"};
+ std::vector<string> certs = {"testcert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string common_certs = "";
string cached_certs = "";
@@ -155,7 +155,7 @@ TEST(QuicCryptoServerConfigTest, CompressDifferentCerts) {
CryptoTestUtils::ProofSourceForTesting());
QuicCryptoServerConfigPeer peer(&server);
- vector<string> certs = {"testcert"};
+ std::vector<string> certs = {"testcert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string common_certs = "";
string cached_certs = "";
@@ -398,7 +398,7 @@ class CryptoServerConfigsTest : public ::testing::Test {
bool has_invalid = false;
bool is_empty = true;
- vector<std::unique_ptr<QuicServerConfigProtobuf>> protobufs;
+ std::vector<std::unique_ptr<QuicServerConfigProtobuf>> protobufs;
bool first = true;
for (;;) {
const char* server_config_id;
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config.cc ('k') | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698