Chromium Code Reviews| Index: net/websockets/websocket_basic_handshake_stream.h | 
| diff --git a/net/websockets/websocket_basic_handshake_stream.h b/net/websockets/websocket_basic_handshake_stream.h | 
| index 71e835f1d7afd2c1520747a3c443d995af00f811..6e47c52b3b86a9170b50b81520c00ff45257e448 100644 | 
| --- a/net/websockets/websocket_basic_handshake_stream.h | 
| +++ b/net/websockets/websocket_basic_handshake_stream.h | 
| @@ -86,14 +86,12 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream | 
| void OnFinishOpeningHandshake(); | 
| - // Validates the response from the server and returns OK or | 
| - // ERR_INVALID_RESPONSE. | 
| - int ValidateResponse(); | 
| + // Validates the response and notifies the finished handshake information. | 
| 
 
Adam Rice
2014/02/04 03:52:46
This sounds a little strange. How about "and sends
 
yhirano
2014/02/04 04:15:50
Done.
 
 | 
| + int ValidateResponse(int rv); | 
| // Check that the headers are well-formed for a 101 response, and returns | 
| // OK if they are, otherwise returns ERR_INVALID_RESPONSE. | 
| - int ValidateUpgradeResponse( | 
| - const scoped_refptr<HttpResponseHeaders>& headers); | 
| + int ValidateUpgradeResponse(const HttpResponseHeaders* headers); | 
| HttpStreamParser* parser() const { return state_.parser(); } |