| Index: net/websockets/websocket_job.h
|
| diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h
|
| index f1dcdc8052f49b6039b1340e42cee675c59f984b..1584fd670dee24e39c8992bf4b513466d562c25d 100644
|
| --- a/net/websockets/websocket_job.h
|
| +++ b/net/websockets/websocket_job.h
|
| @@ -46,6 +46,10 @@ class NET_API WebSocketJob
|
|
|
| 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 enabled);
|
| +
|
| State state() const { return state_; }
|
| virtual void Connect();
|
| virtual bool SendData(const char* data, int len);
|
| @@ -94,6 +98,8 @@ class NET_API WebSocketJob
|
|
|
| void SendPending();
|
|
|
| + static bool websocket_over_spdy_enabled_;
|
| +
|
| SocketStream::Delegate* delegate_;
|
| State state_;
|
| bool waiting_;
|
|
|