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

Issue 8821010: WebSocket Pepper API: C++ bindings implementation. (Closed)

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

Description

WebSocket Pepper API: C++ bindings implementation. This change contains simple straightforward C++ interfaces. JS like bindings will be implemented as a helper class in another change. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_CcInterfaces' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114779

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : ready for review #

Patch Set 4 : steps against compilation error in other platforms #

Total comments: 4

Patch Set 5 : rebase to master #

Total comments: 4

Patch Set 6 : rebase again #

Patch Set 7 : fix reviewed points #

Total comments: 7

Patch Set 8 : straightforward C++ interface #

Total comments: 33

Patch Set 9 : refine documents #

Total comments: 6

Patch Set 10 : rebase (fix broken points by conflicts) #

Patch Set 11 : rebase (all dependent changes are landed) #

Patch Set 12 : fix nits and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -149 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/api/dev/ppb_websocket_dev.idl View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +54 lines, -45 lines 0 comments Download
M ppapi/c/dev/ppb_websocket_dev.h View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +55 lines, -46 lines 0 comments Download
M ppapi/cpp/completion_callback.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/cpp/dev/websocket_dev.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +106 lines, -58 lines 0 comments Download
A ppapi/cpp/dev/websocket_dev.cc View 1 2 3 4 5 6 7 8 1 chunk +148 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Takashi Toyoshima
Hi, ppapi OWNERS and Darin. I almost finish the implementation of WebSocket C bindings for ...
9 years ago (2011-12-06 16:33:34 UTC) #1
Takashi Toyoshima
> Depends on following bug fix, > - http://codereview.chromium.org/8821008/ > and contains it as changes ...
9 years ago (2011-12-06 19:00:00 UTC) #2
dmichael (off chromium)
I'm sorry, I haven't gotten too far yet, but I wanted you to see what ...
9 years ago (2011-12-07 23:31:28 UTC) #3
Takashi Toyoshima
Sorry for my vague review request. I think this API set is good for users ...
9 years ago (2011-12-08 14:40:09 UTC) #4
dmichael (off chromium)
Thanks for explaining why you wanted to revisit the API discussion. I think that was ...
9 years ago (2011-12-08 21:26:48 UTC) #5
brettw
Here's my advice: I think it's best to keep the base C++ layer a very ...
9 years ago (2011-12-08 23:00:00 UTC) #6
darin (slow to review)
+1... I think we should eventually go even further. Just auto-gen the basic C++ bindings. ...
9 years ago (2011-12-08 23:21:56 UTC) #7
brettw
Sorry, I ended mid-sentence... On Thu, Dec 8, 2011 at 3:00 PM, <brettw@chromium.org> wrote: > ...
9 years ago (2011-12-08 23:56:17 UTC) #8
dmichael (off chromium)
On 2011/12/08 23:56:17, brettw wrote: > Sorry, I ended mid-sentence... > > On Thu, Dec ...
9 years ago (2011-12-09 02:47:39 UTC) #9
Takashi Toyoshima
Thank you guys for helpful advices. > David Yeah, now I understand that I was ...
9 years ago (2011-12-09 05:41:46 UTC) #10
brettw
I would probably recommend doing your helper class as a separate patch. I think the ...
9 years ago (2011-12-09 05:58:26 UTC) #11
dmichael (off chromium)
right, I just wasn't thinking straight when I suggested scoped_ptr, sorry. TR1 has a scoped ...
9 years ago (2011-12-09 13:44:42 UTC) #12
Takashi Toyoshima
Hi, David. I prepare another straightforward C++ bindings. Could you review this? Implementing it, I ...
9 years ago (2011-12-09 16:36:01 UTC) #13
dmichael (off chromium)
mostly just nits. http://codereview.chromium.org/8821010/diff/23001/ppapi/cpp/completion_callback.h File ppapi/cpp/completion_callback.h (right): http://codereview.chromium.org/8821010/diff/23001/ppapi/cpp/completion_callback.h#newcode183 ppapi/cpp/completion_callback.h:183: /// : factory_(PP_ALLOW_THIS_IN_INITIALIZER_LIST(this)), offset_(0) { Actually, ...
9 years ago (2011-12-09 23:05:25 UTC) #14
Takashi Toyoshima
Thank you for many useful advice on documents. I refined the document again. http://codereview.chromium.org/8821010/diff/23001/ppapi/cpp/completion_callback.h File ...
9 years ago (2011-12-13 14:08:23 UTC) #15
Takashi Toyoshima
ping? This review is suspended. Could you resume please?
9 years ago (2011-12-16 02:13:42 UTC) #16
dmichael (off chromium)
lgtm http://codereview.chromium.org/8821010/diff/30013/ppapi/api/dev/ppb_websocket_dev.idl File ppapi/api/dev/ppb_websocket_dev.idl (right): http://codereview.chromium.org/8821010/diff/30013/ppapi/api/dev/ppb_websocket_dev.idl#newcode122 ppapi/api/dev/ppb_websocket_dev.idl:122: * <code>url</code> is not secure protocol, but the ...
9 years ago (2011-12-16 03:04:28 UTC) #17
Takashi Toyoshima
Thanks. I'll apply these editorial improvements into helper class document, too. http://codereview.chromium.org/8821010/diff/30013/ppapi/api/dev/ppb_websocket_dev.idl File ppapi/api/dev/ppb_websocket_dev.idl (right): ...
9 years ago (2011-12-16 05:36:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8821010/52002
9 years ago (2011-12-16 05:36:59 UTC) #19
commit-bot: I haz the power
9 years ago (2011-12-16 07:28:24 UTC) #20
Change committed as 114779

Powered by Google App Engine
This is Rietveld 408576698