Chromium Code Reviews| Index: net/http/http_network_session.h |
| diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h |
| index 9ae55047c04a2afb35dc5a6a98e7233731c77fb5..227022e75e69ed9597bf79be6b6b1aaaeb132f55 100644 |
| --- a/net/http/http_network_session.h |
| +++ b/net/http/http_network_session.h |
| @@ -282,6 +282,10 @@ class NET_EXPORT HttpNetworkSession |
| SSLConfig* server_config, |
| SSLConfig* proxy_config) const; |
| + // TODO(ricea): Remove this by October 2017. |
| + void IncrementActiveWebSockets() { ++active_websockets_; } |
| + void DecrementActiveWebSockets() { --active_websockets_; } |
| + |
| private: |
| friend class HttpNetworkSessionPeer; |
| @@ -316,6 +320,9 @@ class NET_EXPORT HttpNetworkSession |
| Params params_; |
| std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| + |
| + // TODO(ricea): Remove this by October 2017. |
|
yhirano
2016/09/08 02:27:13
Do you mean Oct 2016?
Ditto for all occurrences.
Adam Rice
2016/09/08 07:22:08
Wow. Okay. Yes. I meant 2016. Fixed.
|
| + int active_websockets_ = 0; |
| }; |
| } // namespace net |