| Index: net/tools/quic/quic_http_response_cache.cc
|
| diff --git a/net/tools/quic/quic_http_response_cache.cc b/net/tools/quic/quic_http_response_cache.cc
|
| index 65ff6390e92652fa785f596605521a507006cc48..c079081dd7dcffd1f10bfbeac341ef347eb3bfa6 100644
|
| --- a/net/tools/quic/quic_http_response_cache.cc
|
| +++ b/net/tools/quic/quic_http_response_cache.cc
|
| @@ -8,10 +8,10 @@
|
|
|
| #include "base/files/file_enumerator.h"
|
| #include "base/files/file_util.h"
|
| -#include "base/stl_util.h"
|
| #include "net/http/http_util.h"
|
| #include "net/quic/platform/api/quic_bug_tracker.h"
|
| #include "net/quic/platform/api/quic_logging.h"
|
| +#include "net/quic/platform/api/quic_map_util.h"
|
| #include "net/quic/platform/api/quic_ptr_util.h"
|
| #include "net/quic/platform/api/quic_text_utils.h"
|
| #include "net/spdy/spdy_http_utils.h"
|
| @@ -316,7 +316,7 @@ void QuicHttpResponseCache::AddResponseImpl(StringPiece host,
|
|
|
| DCHECK(!host.empty()) << "Host must be populated, e.g. \"www.google.com\"";
|
| string key = GetKey(host, path);
|
| - if (base::ContainsKey(responses_, key)) {
|
| + if (QuicContainsKey(responses_, key)) {
|
| QUIC_BUG << "Response for '" << key << "' already exists!";
|
| return;
|
| }
|
| @@ -360,8 +360,7 @@ void QuicHttpResponseCache::MaybeAddServerPushResources(
|
| bool found_existing_response = false;
|
| {
|
| QuicWriterMutexLock lock(&response_mutex_);
|
| - found_existing_response =
|
| - base::ContainsKey(responses_, GetKey(host, path));
|
| + found_existing_response = QuicContainsKey(responses_, GetKey(host, path));
|
| }
|
| if (!found_existing_response) {
|
| // Add a server push response to responses map, if it is not in the map.
|
|
|