| Index: ppapi/utility/websocket/websocket_api.h
|
| diff --git a/ppapi/utility/websocket/websocket_api.h b/ppapi/utility/websocket/websocket_api.h
|
| index f733b1c49110bfda8001d785dc75a523cf835642..890dccef354f763047d988e1d08e630a52889415 100644
|
| --- a/ppapi/utility/websocket/websocket_api.h
|
| +++ b/ppapi/utility/websocket/websocket_api.h
|
| @@ -47,14 +47,15 @@ class WebSocketAPI {
|
| /// Close() closes the specified WebSocket connection by specifying
|
| /// <code>code</code> and <code>reason</code>.
|
| ///
|
| - /// @param[in] code The WebSocket close code. Ignored if it is 0.
|
| + /// @param[in] code The WebSocket close code. Ignored if it is
|
| + /// PP_WEBSOCKETSTATUSCODE_NOT_SPECIFIED.
|
| /// @param[in] reason A <code>Var</code> of string type which represents the
|
| /// WebSocket close reason. Ignored if it is undefined type.
|
| ///
|
| /// @return An int32_t containing an error code from
|
| /// <code>pp_errors.h</code>.
|
| /// See also <code>pp::WebSocket::Close</code>.
|
| - int32_t Close(uint16_t code, const Var& reason);
|
| + int32_t Close(PP_WebSocketStatusCode code, const Var& reason);
|
|
|
| /// Send() sends a message to the WebSocket server.
|
| ///
|
|
|