Chromium Code Reviews| Index: net/websockets/websocket_job.h |
| diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h |
| index ae527cec2b65ae5f9ad8ed9299179630e5bfffa9..5dd044585344dc9b2b33125965a4252c539afde5 100644 |
| --- a/net/websockets/websocket_job.h |
| +++ b/net/websockets/websocket_job.h |
| @@ -44,6 +44,10 @@ class WebSocketJob : public SocketStreamJob, public SocketStream::Delegate { |
| static void EnsureInit(); |
| + // Enable or Disable WebSocket over SPDY feature. |
| + // This function is intended to be called before I/O thread starts. |
| + static void set_websocket_over_spdy_enabled(bool enable); |
|
Yuta Kitamura
2011/05/20 08:30:33
enable -> enabled
Takashi Toyoshima
2011/05/20 09:46:52
Done.
|
| + |
| State state() const { return state_; } |
| virtual void Connect(); |
| virtual bool SendData(const char* data, int len); |
| @@ -92,6 +96,8 @@ class WebSocketJob : public SocketStreamJob, public SocketStream::Delegate { |
| void SendPending(); |
| + static bool websocket_over_spdy_enabled_; |
| + |
| SocketStream::Delegate* delegate_; |
| State state_; |
| bool waiting_; |