| Index: net/websockets/websocket_throttle.h
|
| diff --git a/net/websockets/websocket_throttle.h b/net/websockets/websocket_throttle.h
|
| index 0849834befa1dfaca0e43a97338d49d74e7dea47..8eaefb8b4df7971032aed425a5fc81e1e178485e 100644
|
| --- a/net/websockets/websocket_throttle.h
|
| +++ b/net/websockets/websocket_throttle.h
|
| @@ -27,6 +27,9 @@ class WebSocketJob;
|
| // for that connection to have failed.
|
| class WebSocketThrottle {
|
| public:
|
| + // Returns the singleton instance.
|
| + static WebSocketThrottle* GetInstance();
|
| +
|
| // Puts |job| in |queue_| and queues for the destination addresses
|
| // of |job|.
|
| // If other job is using the same destination address, set |job| waiting.
|
|
|