| Index: net/websockets/websocket_event_interface.h
|
| diff --git a/net/websockets/websocket_event_interface.h b/net/websockets/websocket_event_interface.h
|
| index 923581a43a63297d59c11b8890049cf6dd8859df..7d25e4bb7d3e1172fff470642177c4e53b66ef71 100644
|
| --- a/net/websockets/websocket_event_interface.h
|
| +++ b/net/websockets/websocket_event_interface.h
|
| @@ -26,10 +26,7 @@ class NET_EXPORT WebSocketEventInterface {
|
| // Any event can cause the Channel to be deleted. The Channel needs to avoid
|
| // doing further processing in this case. It does not need to do cleanup, as
|
| // cleanup will already have been done as a result of the deletion.
|
| - enum ChannelState {
|
| - CHANNEL_ALIVE,
|
| - CHANNEL_DELETED
|
| - };
|
| + enum ChannelState { CHANNEL_ALIVE, CHANNEL_DELETED };
|
|
|
| virtual ~WebSocketEventInterface() {}
|
|
|
| @@ -44,10 +41,10 @@ class NET_EXPORT WebSocketEventInterface {
|
|
|
| // Called when a data frame has been received from the remote host and needs
|
| // to be forwarded to the renderer process.
|
| - virtual ChannelState OnDataFrame(
|
| - bool fin,
|
| - WebSocketMessageType type,
|
| - const std::vector<char>& data) WARN_UNUSED_RESULT = 0;
|
| + virtual ChannelState OnDataFrame(bool fin,
|
| + WebSocketMessageType type,
|
| + const std::vector<char>& data)
|
| + WARN_UNUSED_RESULT = 0;
|
|
|
| // Called to provide more send quota for this channel to the renderer
|
| // process. Currently the quota units are always bytes of message body
|
| @@ -95,9 +92,8 @@ class NET_EXPORT WebSocketEventInterface {
|
| scoped_ptr<WebSocketHandshakeRequestInfo> request) WARN_UNUSED_RESULT = 0;
|
|
|
| // Called when the browser finishes the WebSocket Opening Handshake.
|
| - virtual ChannelState OnFinishOpeningHandshake(
|
| - scoped_ptr<WebSocketHandshakeResponseInfo> response)
|
| - WARN_UNUSED_RESULT = 0;
|
| + virtual ChannelState OnFinishOpeningHandshake(scoped_ptr<
|
| + WebSocketHandshakeResponseInfo> response) WARN_UNUSED_RESULT = 0;
|
|
|
| protected:
|
| WebSocketEventInterface() {}
|
|
|