diff options
author | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 06:22:51 +0000 |
---|---|---|
committer | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 06:22:51 +0000 |
commit | 8778b63e6ab02be9c2feef92a13fdca3f2ae4f28 (patch) | |
tree | ae9746f8f453754bc870bd39d8a1d139d0848989 /ppapi/c/dev | |
parent | a189a701d7fefe3c26b76efa529dc3e956e28c30 (diff) | |
download | chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.zip chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.tar.gz chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.tar.bz2 |
WebSocket Pepper API: WebArrayBuffer support
- support SetBinaryType()
- support WebArrayBuffer and stop supporting WebData
- use Var instead of PP_Var to hold received messages
- Add C++ interfaces to handle binary types
BUG=87310
TEST=ui_test --gtest_filter='PPAPITest.WebSocket_*'
Review URL: http://codereview.chromium.org/9026007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/dev')
-rw-r--r-- | ppapi/c/dev/ppb_websocket_dev.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ppapi/c/dev/ppb_websocket_dev.h b/ppapi/c/dev/ppb_websocket_dev.h index e9e524f..e138f2b 100644 --- a/ppapi/c/dev/ppb_websocket_dev.h +++ b/ppapi/c/dev/ppb_websocket_dev.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From dev/ppb_websocket_dev.idl modified Wed Jan 11 14:21:33 2012. */ +/* From dev/ppb_websocket_dev.idl modified Wed Jan 18 20:17:45 2012. */ #ifndef PPAPI_C_DEV_PPB_WEBSOCKET_DEV_H_ #define PPAPI_C_DEV_PPB_WEBSOCKET_DEV_H_ @@ -341,7 +341,7 @@ struct PPB_WebSocket_Dev_0_9 { * @param[in] web_socket A <code>PP_Resource</code> corresponding to a * WebSocket. * - * @param[in] binary_type Binary object type for receibing binary frames + * @param[in] binary_type Binary object type for receiving binary frames * representation. * * @return Returns <code>PP_FALSE</code> if the specified type is not @@ -350,13 +350,13 @@ struct PPB_WebSocket_Dev_0_9 { PP_Bool (*SetBinaryType)(PP_Resource web_socket, PP_WebSocketBinaryType_Dev binary_type); /** - * GetBinaryType() returns currently specified binary object type for - * receiving binary frames representation. + * GetBinaryType() returns the currently specified binary object type for + * receiving binary frames. * * @param[in] web_socket A <code>PP_Resource</code> corresponding to a * WebSocket. * - * @return Returns <code>PP_WebSocketBinaryType_Dev</code> represents + * @return Returns <code>PP_WebSocketBinaryType_Dev</code> represents the * current binary object type. */ PP_WebSocketBinaryType_Dev (*GetBinaryType)(PP_Resource web_socket); |