Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Issue 9026007: WebSocket Pepper API: WebArrayBuffer support (Closed)

Created:
9 years ago by Takashi Toyoshima
Modified:
8 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

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_*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118258

Patch Set 1 #

Total comments: 2

Patch Set 2 : follows API update #

Patch Set 3 : rebase #

Patch Set 4 : remove obsoleted WebData support #

Total comments: 8

Patch Set 5 : reflect review comments #2 #

Total comments: 7

Patch Set 6 : rebase in order to compile with latest HEAD #

Patch Set 7 : add C++ interfaces to handle binary types #

Total comments: 8

Patch Set 8 : fix nits and queue handling #

Patch Set 9 : just rebase #

Patch Set 10 : wen32 build catch missing PP_ToBool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -53 lines) Patch
M ppapi/api/dev/ppb_websocket_dev.idl View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_websocket_dev.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
M ppapi/cpp/dev/websocket_dev.h View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
M ppapi/cpp/dev/websocket_dev.cc View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.h View 1 2 3 4 5 6 7 4 chunks +5 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.cc View 1 2 3 4 5 6 7 10 chunks +43 lines, -36 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Takashi Toyoshima
This CL is for binary handling improvement by using WebArrayBuffer directly to communicate between Chromium ...
8 years, 11 months ago (2012-01-13 11:32:26 UTC) #1
dmichael (off chromium)
http://codereview.chromium.org/9026007/diff/1/webkit/plugins/ppapi/ppb_websocket_impl.h File webkit/plugins/ppapi/ppb_websocket_impl.h (right): http://codereview.chromium.org/9026007/diff/1/webkit/plugins/ppapi/ppb_websocket_impl.h#newcode87 webkit/plugins/ppapi/ppb_websocket_impl.h:87: std::queue< ::ppapi::Var*> received_messages_; Should this be scoped_refptr< ::ppapi::Var>? http://codereview.chromium.org/9026007/diff/5005/webkit/plugins/ppapi/ppb_websocket_impl.cc ...
8 years, 11 months ago (2012-01-13 17:36:14 UTC) #2
Takashi Toyoshima
Thank you and sorry for careless handling on ref counted objects. I reflect your comments ...
8 years, 11 months ago (2012-01-17 10:14:58 UTC) #3
dmichael (off chromium)
Let me know if you're having trouble understanding scoped_refptr; I can try to explain a ...
8 years, 11 months ago (2012-01-17 22:14:28 UTC) #4
Takashi Toyoshima
http://codereview.chromium.org/9026007/diff/11001/webkit/plugins/ppapi/ppb_websocket_impl.cc File webkit/plugins/ppapi/ppb_websocket_impl.cc (right): http://codereview.chromium.org/9026007/diff/11001/webkit/plugins/ppapi/ppb_websocket_impl.cc#newcode459 webkit/plugins/ppapi/ppb_websocket_impl.cc:459: received_messages_.push(new scoped_refptr<Var>(new StringVar(string))); This time, I misunderstand std::queue using ...
8 years, 11 months ago (2012-01-18 12:10:43 UTC) #5
dmichael (off chromium)
lgtm http://codereview.chromium.org/9026007/diff/11001/webkit/plugins/ppapi/ppb_websocket_impl.cc File webkit/plugins/ppapi/ppb_websocket_impl.cc (right): http://codereview.chromium.org/9026007/diff/11001/webkit/plugins/ppapi/ppb_websocket_impl.cc#newcode459 webkit/plugins/ppapi/ppb_websocket_impl.cc:459: received_messages_.push(new scoped_refptr<Var>(new StringVar(string))); On 2012/01/18 12:10:43, toyoshim wrote: ...
8 years, 11 months ago (2012-01-18 16:20:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9026007/22001
8 years, 11 months ago (2012-01-19 04:03:40 UTC) #7
commit-bot: I haz the power
Try job failure for 9026007-22001 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 11 months ago (2012-01-19 04:16:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9026007/17003
8 years, 11 months ago (2012-01-19 04:42:57 UTC) #9
commit-bot: I haz the power
8 years, 11 months ago (2012-01-19 06:22:52 UTC) #10
Change committed as 118258

Powered by Google App Engine
This is Rietveld 408576698