Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index e1bdd694c93ce8a163f429376e6bcb5cb5cde45f..876b790e6c9c97f126f0bf2d6db18c41a6d2e285 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -14,6 +14,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/linked_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/memory/ref_counted.h" |
#include "base/task.h" |
#include "net/base/io_buffer.h" |
@@ -45,7 +46,8 @@ class SpdyStream; |
class SSLInfo; |
class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>, |
- public spdy::SpdyFramerVisitorInterface { |
+ public spdy::SpdyFramerVisitorInterface, |
+ public LayeredPool { |
public: |
// Create a new SpdySession. |
// |host_port_proxy_pair| is the host/port that this session connects to, and |
@@ -224,6 +226,9 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>, |
int GetPeerAddress(AddressList* address) const; |
int GetLocalAddress(IPEndPoint* address) const; |
+ // LayeredPool methods: |
+ virtual bool CloseOneIdleConnection(); |
+ |
private: |
friend class base::RefCounted<SpdySession>; |
// Allow tests to access our innards for testing purposes. |