Chromium Code Reviews| Index: net/spdy/spdy_session.h |
| diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
| index fde42024be8f54291338e01b246d797af7212f7c..fd8cdc1bd083086660e25da8a3257eab9433a0a1 100644 |
| --- a/net/spdy/spdy_session.h |
| +++ b/net/spdy/spdy_session.h |
| @@ -353,6 +353,11 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
| // |description| indicates the reason for the error. |
| void CloseSessionOnError(Error err, const std::string& description); |
| + // Mark this session as going away. It will not be used to service new |
|
akalin
2014/01/29 23:26:18
I think the following is better wording:
// Mark
|
| + // streams. This only changes the session's availability but does not |
| + // actively close streams as StartGoingAway() does. |
| + void MakeUnavailable(); |
| + |
| // Retrieves information on the current state of the SPDY session as a |
| // Value. Caller takes possession of the returned value. |
| base::Value* GetInfoAsValue() const; |