Index: net/http/http_server_properties.h |
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h |
index 0bcd2968f03890b539970709ed53e0ad820fb3d0..e10d2de96e2ec70332c67b0fd53af20e1c0de45d 100644 |
--- a/net/http/http_server_properties.h |
+++ b/net/http/http_server_properties.h |
@@ -8,7 +8,6 @@ |
#include <map> |
#include <string> |
#include "base/basictypes.h" |
-#include "base/containers/mru_cache.h" |
#include "base/memory/weak_ptr.h" |
#include "base/time/time.h" |
#include "net/base/host_port_pair.h" |
@@ -63,8 +62,7 @@ |
AlternateProtocol protocol; |
}; |
-typedef base::MRUCache< |
- HostPortPair, PortAlternateProtocolPair> AlternateProtocolMap; |
+typedef std::map<HostPortPair, PortAlternateProtocolPair> AlternateProtocolMap; |
typedef std::map<HostPortPair, SettingsMap> SpdySettingsMap; |
typedef std::map<HostPortPair, |
HttpPipelinedHostCapability> PipelineCapabilityMap; |
@@ -101,12 +99,12 @@ |
bool support_spdy) = 0; |
// Returns true if |server| has an Alternate-Protocol header. |
- virtual bool HasAlternateProtocol(const HostPortPair& server) = 0; |
+ virtual bool HasAlternateProtocol(const HostPortPair& server) const = 0; |
// Returns the Alternate-Protocol and port for |server|. |
// HasAlternateProtocol(server) must be true. |
virtual PortAlternateProtocolPair GetAlternateProtocol( |
- const HostPortPair& server) = 0; |
+ const HostPortPair& server) const = 0; |
// Sets the Alternate-Protocol for |server|. |
virtual void SetAlternateProtocol(const HostPortPair& server, |