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

Issue 8558017: WebSocket Pepper API: in process API implementation (reland) (Closed)

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

Description

WebSocket Pepper API: in process API implementation This change enable in process Websocket Pepper API. For now, some unit tests are disabled because they need external a WebSocket server. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111596 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111628

Patch Set 1 #

Patch Set 2 : revised #

Patch Set 3 : fixed on reviewed points in another change #

Total comments: 6

Patch Set 4 : fix points yutak reviewed #

Patch Set 5 : rebase #

Patch Set 6 : work with internal server #

Total comments: 37

Patch Set 7 : just rebase #

Patch Set 8 : fixed reviewed points #

Total comments: 2

Patch Set 9 : Add string_var validation and TODO #

Patch Set 10 : use non-empty array instead of empty array #

Patch Set 11 : just rebase to master #

Patch Set 12 : use PpapiGlobals::GetModuleForInstance() #

Patch Set 13 : rebase to trunk #

Patch Set 14 : avoid shared linkage error and dependency check error #

Patch Set 15 : fix test too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -40 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -1 line 0 comments Download
M ppapi/tests/test_websocket.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -1 line 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +169 lines, -13 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.h View 1 2 3 4 5 6 7 8 3 chunks +51 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +308 lines, -24 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Yuta Kitamura
WebSocket stuff lgtm with nits. http://codereview.chromium.org/8558017/diff/1007/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/8558017/diff/1007/ppapi/tests/test_websocket.cc#newcode70 ppapi/tests/test_websocket.cc:70: // TODO(toyoshim): For now, ...
9 years, 1 month ago (2011-11-21 05:49:21 UTC) #1
Takashi Toyoshima
Thanks, Yuta. Could anyone being familiar with pepper review on this? Actually, this change lack ...
9 years, 1 month ago (2011-11-21 09:00:45 UTC) #2
Takashi Toyoshima
Hi Dave, Could you review this change especially on pepper related stuff? I landed a ...
9 years, 1 month ago (2011-11-23 05:10:58 UTC) #3
dmichael (off chromium)
Since I'm already so late getting comments to you, I'll send a batch now. I'm ...
9 years, 1 month ago (2011-11-23 17:41:24 UTC) #4
dmichael (off chromium)
Okay, done reviewing for now. Sorry again for the delay. http://codereview.chromium.org/8558017/diff/16001/webkit/plugins/ppapi/ppb_websocket_impl.cc File webkit/plugins/ppapi/ppb_websocket_impl.cc (right): http://codereview.chromium.org/8558017/diff/16001/webkit/plugins/ppapi/ppb_websocket_impl.cc#newcode92 ...
9 years, 1 month ago (2011-11-23 18:29:57 UTC) #5
Takashi Toyoshima
Thanks. I fixed commented points. And now we can safely enabled tests using WebSocket server. ...
9 years, 1 month ago (2011-11-24 03:55:48 UTC) #6
dmichael (off chromium)
I think you need to validate protocols[] vars, but otherwise LGTM http://codereview.chromium.org/8558017/diff/16001/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): ...
9 years, 1 month ago (2011-11-24 04:32:36 UTC) #7
Takashi Toyoshima
Thanks. I'll land with minor update, so I added you as a TBR. http://codereview.chromium.org/8558017/diff/16001/webkit/plugins/ppapi/ppb_websocket_impl.cc File ...
9 years, 1 month ago (2011-11-25 05:42:48 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/8558017/24001
9 years, 1 month ago (2011-11-25 05:43:10 UTC) #9
commit-bot: I haz the power
Try job failure for 8558017-24001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-25 06:08:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8558017/28002
9 years ago (2011-11-25 06:21:22 UTC) #11
Takashi Toyoshima
Hum.., build on bots fails. But, I could not reproduce it in my local machine. ...
9 years ago (2011-11-25 07:37:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8558017/27002
9 years ago (2011-11-25 07:47:54 UTC) #13
commit-bot: I haz the power
Try job failure for 8558017-27002 (retry) (retry) on linux_rel for steps "check_deps, interactive_ui_tests". It's a ...
9 years ago (2011-11-25 10:09:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8558017/27002
9 years ago (2011-11-25 10:17:05 UTC) #15
commit-bot: I haz the power
Try job failure for 8558017-27002 (retry) on linux_rel for steps "check_deps, interactive_ui_tests". It's a second ...
9 years ago (2011-11-25 11:40:44 UTC) #16
Takashi Toyoshima
The last problems seem not to be related to this change. I used dcommit to ...
9 years ago (2011-11-25 14:53:17 UTC) #17
Takashi Toyoshima
Change was reverted, so I reopen this review.
9 years ago (2011-11-25 15:17:24 UTC) #18
Takashi Toyoshima
This revert related to build with shared library. I try to reproduce the problem on ...
9 years ago (2011-11-25 15:40:19 UTC) #19
dmichael (off chromium)
Oops, should've caught that in review. You can't use anything from ppapi/cpp, except in ppapi/tests. ...
9 years ago (2011-11-25 16:19:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8558017/27003
9 years ago (2011-11-26 01:08:02 UTC) #21
commit-bot: I haz the power
9 years ago (2011-11-26 01:08:06 UTC) #22
Presubmit check for 8558017-27003 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Missing LGTM from an OWNER for:
webkit/plugins/ppapi/ppb_websocket_impl.cc,webkit/plugins/ppapi/ppb_websocket_impl.h

Presubmit checks took 1.8s to calculate.

Powered by Google App Engine
This is Rietveld 408576698