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

Unified Diff: net/tools/quic/quic_in_memory_cache.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/tools/quic/quic_dispatcher.cc ('k') | net/tools/quic/quic_in_memory_cache_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_in_memory_cache.cc
diff --git a/net/tools/quic/quic_in_memory_cache.cc b/net/tools/quic/quic_in_memory_cache.cc
index 66f073a90f569314f8ee12e0c4d75ab9d43dd1ac..00b3e72f8be8bf388749de012966bf7c880d5ea6 100644
--- a/net/tools/quic/quic_in_memory_cache.cc
+++ b/net/tools/quic/quic_in_memory_cache.cc
@@ -208,7 +208,7 @@ void QuicInMemoryCache::AddSpecialResponse(StringPiece host,
QuicInMemoryCache::QuicInMemoryCache() {}
void QuicInMemoryCache::ResetForTests() {
- STLDeleteValues(&responses_);
+ base::STLDeleteValues(&responses_);
server_push_resources_.clear();
}
@@ -279,7 +279,7 @@ list<ServerPushInfo> QuicInMemoryCache::GetServerPushResources(
}
QuicInMemoryCache::~QuicInMemoryCache() {
- STLDeleteValues(&responses_);
+ base::STLDeleteValues(&responses_);
}
void QuicInMemoryCache::AddResponseImpl(StringPiece host,
@@ -290,7 +290,7 @@ void QuicInMemoryCache::AddResponseImpl(StringPiece host,
SpdyHeaderBlock response_trailers) {
DCHECK(!host.empty()) << "Host must be populated, e.g. \"www.google.com\"";
string key = GetKey(host, path);
- if (ContainsKey(responses_, key)) {
+ if (base::ContainsKey(responses_, key)) {
QUIC_BUG << "Response for '" << key << "' already exists!";
return;
}
« no previous file with comments | « net/tools/quic/quic_dispatcher.cc ('k') | net/tools/quic/quic_in_memory_cache_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698