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

Unified Diff: net/spdy/spdy_session_pool.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/spdy/spdy_session.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.cc
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index babda51a93b226b4b3bc420bd21c5ca9af664728..eeacf6edb374c1ab6b386a8cc8a9911f168ff497 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -194,7 +194,7 @@ base::WeakPtr<SpdySession> SpdySessionPool::FindAvailableSession(
const base::WeakPtr<SpdySession>& available_session =
available_session_it->second;
- DCHECK(ContainsKey(sessions_, available_session.get()));
+ DCHECK(base::ContainsKey(sessions_, available_session.get()));
// If the session is a secure one, we need to verify that the
// server is authenticated to serve traffic for |host_port_proxy_pair| too.
if (!available_session->VerifyDomainAuthentication(
@@ -273,7 +273,7 @@ void SpdySessionPool::RegisterUnclaimedPushedStream(
base::WeakPtr<SpdySession> spdy_session) {
DCHECK(!url.is_empty());
// This SpdySessionPool must own |spdy_session|.
- DCHECK(ContainsKey(sessions_, spdy_session.get()));
+ DCHECK(base::ContainsKey(sessions_, spdy_session.get()));
UnclaimedPushedStreamMap::iterator url_it =
unclaimed_pushed_streams_.lower_bound(url);
if (url_it == unclaimed_pushed_streams_.end() || url_it->first != url) {
@@ -384,7 +384,7 @@ bool SpdySessionPool::IsSessionAvailable(
void SpdySessionPool::MapKeyToAvailableSession(
const SpdySessionKey& key,
const base::WeakPtr<SpdySession>& session) {
- DCHECK(ContainsKey(sessions_, session.get()));
+ DCHECK(base::ContainsKey(sessions_, session.get()));
std::pair<AvailableSessionMap::iterator, bool> result =
available_sessions_.insert(std::make_pair(key, session));
CHECK(result.second);
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698