Index: net/spdy/spdy_test_util.h |
=================================================================== |
--- net/spdy/spdy_test_util.h (revision 92397) |
+++ net/spdy/spdy_test_util.h (working copy) |
@@ -8,6 +8,8 @@ |
#include "base/basictypes.h" |
#include "net/base/cert_verifier.h" |
+#include "net/base/host_port_pair.h" |
+#include "net/base/ip_endpoint.h" |
#include "net/base/mock_host_resolver.h" |
#include "net/base/request_priority.h" |
#include "net/base/ssl_config_service_defaults.h" |
@@ -376,6 +378,10 @@ |
explicit SpdySessionPoolPeer(SpdySessionPool* pool) |
: pool_(pool) {} |
+ void AddAlias(const IPEndPoint& endpoint, const HostPortProxyPair& pair) { |
+ pool_->AddAlias(endpoint, pair); |
+ } |
+ |
void RemoveSpdySession(const scoped_refptr<SpdySession>& session) { |
pool_->Remove(session); |
} |