Chromium Code Reviews| Index: net/spdy/spdy_session.h |
| diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
| index b5b7dc79e19c60538066a1cac7c5daf1382298f7..9a398a455cca08f680d9f1cec04500b7ef3aed60 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" |
|
mmenke
2011/11/28 17:47:14
nit: Alphabetize
willchan no longer on Chromium
2011/11/29 23:14:52
Done.
|
| #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 |
| @@ -228,6 +230,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. |