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

Unified Diff: net/quic/core/crypto/quic_compressed_certs_cache_test.cc

Issue 2460223002: 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/crypto/crypto_utils.cc ('k') | net/quic/core/crypto/quic_crypto_client_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/quic_compressed_certs_cache_test.cc
diff --git a/net/quic/core/crypto/quic_compressed_certs_cache_test.cc b/net/quic/core/crypto/quic_compressed_certs_cache_test.cc
index c446a09cab32f87bdd6a3c65af20e9f46f9669bc..1ac853a550ed310542ae8d0b07fdd7f6601a4b0c 100644
--- a/net/quic/core/crypto/quic_compressed_certs_cache_test.cc
+++ b/net/quic/core/crypto/quic_compressed_certs_cache_test.cc
@@ -12,7 +12,6 @@
#include "testing/gtest/include/gtest/gtest.h"
using std::string;
-using std::vector;
namespace net {
@@ -30,7 +29,7 @@ class QuicCompressedCertsCacheTest : public testing::Test {
};
TEST_F(QuicCompressedCertsCacheTest, CacheHit) {
- vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
+ std::vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string common_certs = "common certs";
string cached_certs = "cached certs";
@@ -45,7 +44,7 @@ TEST_F(QuicCompressedCertsCacheTest, CacheHit) {
}
TEST_F(QuicCompressedCertsCacheTest, CacheMiss) {
- vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
+ std::vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string common_certs = "common certs";
string cached_certs = "cached certs";
@@ -65,7 +64,7 @@ TEST_F(QuicCompressedCertsCacheTest, CacheMiss) {
TEST_F(QuicCompressedCertsCacheTest, CacheMissDueToEviction) {
// Test cache returns a miss when a queried uncompressed certs was cached but
// then evicted.
- vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
+ std::vector<string> certs = {"leaf cert", "intermediate cert", "root cert"};
scoped_refptr<ProofSource::Chain> chain(new ProofSource::Chain(certs));
string common_certs = "common certs";
« no previous file with comments | « net/quic/core/crypto/crypto_utils.cc ('k') | net/quic/core/crypto/quic_crypto_client_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698