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

Issue 22815034: Introduce webkit_glue bridges for the new WebSocket Implementation. (Closed)

Created:
7 years, 4 months ago by yhirano
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Introduce webkit_glue bridges for the new WebSocket Implementation. We are implementing the new WebSocket implementation. This CL introduces WebSocketDispatcher, an IPC message dispatcher. WebSocketBridge and other bridge classes are also introduces. Currently this CL doesn't change any behavior because nobody uses the classes yet. BUG=275459 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224955

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 54

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 8

Patch Set 10 : #

Total comments: 24

Patch Set 11 : rebase #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : rebase #

Patch Set 16 : #

Patch Set 17 : #

Total comments: 6

Patch Set 18 : #

Patch Set 19 : #

Total comments: 13

Patch Set 20 : #

Patch Set 21 : #

Total comments: 2

Patch Set 22 : rebase #

Patch Set 23 : #

Patch Set 24 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -29 lines) Patch
M content/child/child_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -0 lines 0 comments Download
M content/child/child_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -0 lines 0 comments Download
M content/child/webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M content/child/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -1 line 0 comments Download
A content/child/websocket_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +64 lines, -0 lines 0 comments Download
A content/child/websocket_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +215 lines, -0 lines 0 comments Download
A content/child/websocket_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +48 lines, -0 lines 0 comments Download
A content/child/websocket_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +64 lines, -0 lines 0 comments Download
M content/common/websocket_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +17 lines, -22 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/test_webkit_platform_support.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_webkit_platform_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M webkit/child/webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M webkit/child/websocketstreamhandle_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webkit_glue_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (0 generated)
yhirano
This CL depends on https://codereview.chromium.org/22914026/
7 years, 4 months ago (2013-08-26 04:58:42 UTC) #1
tyoshino (SeeGerritForStatus)
On 2013/08/26 04:58:42, yhirano wrote: > This CL depends on https://codereview.chromium.org/22914026/ Could you choose an ...
7 years, 3 months ago (2013-08-26 07:25:46 UTC) #2
yhirano
On 2013/08/26 07:25:46, tyoshino wrote: > On 2013/08/26 04:58:42, yhirano wrote: > > This CL ...
7 years, 3 months ago (2013-08-26 10:33:11 UTC) #3
yhirano
WebSocketHandle and WebSocketHandleClient landed as: https://chromiumcodereview.appspot.com/23684002
7 years, 3 months ago (2013-08-29 01:00:44 UTC) #4
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h File content/child/websocket_dispatcher.h (right): https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h#newcode13 content/child/websocket_dispatcher.h:13: #include "content/common/websocket.h" move this to .cc? https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h#newcode46 content/child/websocket_dispatcher.h:46: std::vector<char> ...
7 years, 3 months ago (2013-08-29 11:30:59 UTC) #5
yhirano
https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h File content/child/websocket_dispatcher.h (right): https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h#newcode13 content/child/websocket_dispatcher.h:13: #include "content/common/websocket.h" On 2013/08/29 11:30:59, tyoshino wrote: > move ...
7 years, 3 months ago (2013-08-29 11:45:44 UTC) #6
yhirano
https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h File content/child/websocket_dispatcher.h (right): https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h#newcode13 content/child/websocket_dispatcher.h:13: #include "content/common/websocket.h" On 2013/08/29 11:45:44, yhirano wrote: > On ...
7 years, 3 months ago (2013-08-30 05:46:56 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h File content/child/websocket_dispatcher.h (right): https://codereview.chromium.org/22815034/diff/2001/content/child/websocket_dispatcher.h#newcode13 content/child/websocket_dispatcher.h:13: #include "content/common/websocket.h" On 2013/08/30 05:46:56, yhirano wrote: > On ...
7 years, 3 months ago (2013-09-03 07:18:29 UTC) #8
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/22815034/diff/40001/webkit/child/websocket_handle_impl.cc File webkit/child/websocket_handle_impl.cc (right): https://codereview.chromium.org/22815034/diff/40001/webkit/child/websocket_handle_impl.cc#newcode81 webkit/child/websocket_handle_impl.cc:81: bridge_->Connect(url, protocols, origin, this); create bridge_. (told offline) https://codereview.chromium.org/22815034/diff/40001/webkit/child/websocket_handle_impl.cc#newcode162 ...
7 years, 3 months ago (2013-09-03 07:58:10 UTC) #9
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/22815034/diff/52001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/52001/content/child/websocket_dispatcher.cc#newcode29 content/child/websocket_dispatcher.cc:29: // Methods called by WebSocketDispatcher
7 years, 3 months ago (2013-09-03 08:46:47 UTC) #10
yhirano
https://codereview.chromium.org/22815034/diff/40001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/40001/content/child/websocket_dispatcher.cc#newcode61 content/child/websocket_dispatcher.cc:61: static base::LazyInstance<IDMap<IPCWebSocketHandleBridge> >::Leaky bridges; On 2013/09/03 07:18:30, tyoshino wrote: ...
7 years, 3 months ago (2013-09-03 09:12:08 UTC) #11
tyoshino (SeeGerritForStatus)
LGTM https://codereview.chromium.org/22815034/diff/49001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/49001/content/child/websocket_dispatcher.cc#newcode79 content/child/websocket_dispatcher.cc:79: // To be released in Disconnect. Disconnect() https://codereview.chromium.org/22815034/diff/49001/content/child/websocket_dispatcher.cc#newcode126 ...
7 years, 3 months ago (2013-09-05 04:51:37 UTC) #12
yhirano
https://codereview.chromium.org/22815034/diff/49001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/49001/content/child/websocket_dispatcher.cc#newcode79 content/child/websocket_dispatcher.cc:79: // To be released in Disconnect. On 2013/09/05 04:51:38, ...
7 years, 3 months ago (2013-09-05 05:06:17 UTC) #13
yhirano
kinuko, piman, can you take a look at the CL?
7 years, 3 months ago (2013-09-05 05:09:20 UTC) #14
kinuko
lgtm with one comment https://codereview.chromium.org/22815034/diff/73001/webkit/child/webkitplatformsupport_impl.h File webkit/child/webkitplatformsupport_impl.h (right): https://codereview.chromium.org/22815034/diff/73001/webkit/child/webkitplatformsupport_impl.h#newcode134 webkit/child/webkitplatformsupport_impl.h:134: WebSocketHandleDelegate* delegate) = 0; I ...
7 years, 3 months ago (2013-09-05 08:10:38 UTC) #15
yhirano
https://codereview.chromium.org/22815034/diff/73001/webkit/child/webkitplatformsupport_impl.h File webkit/child/webkitplatformsupport_impl.h (right): https://codereview.chromium.org/22815034/diff/73001/webkit/child/webkitplatformsupport_impl.h#newcode134 webkit/child/webkitplatformsupport_impl.h:134: WebSocketHandleDelegate* delegate) = 0; On 2013/09/05 08:10:39, kinuko wrote: ...
7 years, 3 months ago (2013-09-05 11:25:01 UTC) #16
yhirano
piman, PTAL if you have time.
7 years, 3 months ago (2013-09-10 01:27:07 UTC) #17
piman
https://codereview.chromium.org/22815034/diff/73001/content/child/child_thread.h File content/child/child_thread.h (right): https://codereview.chromium.org/22815034/diff/73001/content/child/child_thread.h#newcode188 content/child/child_thread.h:188: scoped_ptr<WebSocketDispatcher> websocket_dispatcher_; What creates this? Is it needed on ...
7 years, 3 months ago (2013-09-12 07:30:21 UTC) #18
yhirano
Thank you very much for reviewing. https://codereview.chromium.org/22815034/diff/73001/content/child/child_thread.h File content/child/child_thread.h (right): https://codereview.chromium.org/22815034/diff/73001/content/child/child_thread.h#newcode188 content/child/child_thread.h:188: scoped_ptr<WebSocketDispatcher> websocket_dispatcher_; On ...
7 years, 3 months ago (2013-09-13 12:32:29 UTC) #19
Adam Rice
https://codereview.chromium.org/22815034/diff/93015/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/22815034/diff/93015/content/child/websocket_bridge.cc#newcode43 content/child/websocket_bridge.cc:43: client_->didConnect(this, fail, selected_protocol, extensions); I think maybe you need ...
7 years, 3 months ago (2013-09-17 14:49:42 UTC) #20
yhirano
https://codereview.chromium.org/22815034/diff/93015/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/22815034/diff/93015/content/child/websocket_bridge.cc#newcode43 content/child/websocket_bridge.cc:43: client_->didConnect(this, fail, selected_protocol, extensions); On 2013/09/17 14:49:43, Adam Rice ...
7 years, 3 months ago (2013-09-18 00:49:29 UTC) #21
Adam Rice
lgtm
7 years, 3 months ago (2013-09-18 05:32:08 UTC) #22
yhirano
piman, can you take a look at the CL again?
7 years, 3 months ago (2013-09-18 12:53:50 UTC) #23
piman
https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_bridge.cc#newcode80 content/child/websocket_bridge.cc:80: nit: no need for blank line https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc ...
7 years, 3 months ago (2013-09-20 03:39:06 UTC) #24
yhirano
+tsepez for content/common/websocket_messages.h change. https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_bridge.cc#newcode80 content/child/websocket_bridge.cc:80: On 2013/09/20 03:39:06, piman wrote: ...
7 years, 3 months ago (2013-09-20 08:42:28 UTC) #25
piman
LGTM
7 years, 3 months ago (2013-09-20 16:27:03 UTC) #26
piman
https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/109001/content/child/websocket_dispatcher.cc#newcode55 content/child/websocket_dispatcher.cc:55: IPC_END_MESSAGE_MAP() On 2013/09/20 08:42:28, yhirano wrote: > On 2013/09/20 ...
7 years, 3 months ago (2013-09-20 16:30:12 UTC) #27
Tom Sepez
Messages LGTM. https://codereview.chromium.org/22815034/diff/128001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/128001/content/child/websocket_dispatcher.cc#newcode28 content/child/websocket_dispatcher.cc:28: std::map<int, WebSocketBridge*>::iterator i = bridges_.find(channel_id); nit: pickier ...
7 years, 3 months ago (2013-09-20 16:39:29 UTC) #28
yhirano
Thank you very much, all reviewers. https://codereview.chromium.org/22815034/diff/128001/content/child/websocket_dispatcher.cc File content/child/websocket_dispatcher.cc (right): https://codereview.chromium.org/22815034/diff/128001/content/child/websocket_dispatcher.cc#newcode28 content/child/websocket_dispatcher.cc:28: std::map<int, WebSocketBridge*>::iterator i ...
7 years, 3 months ago (2013-09-23 20:37:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/22815034/142001
7 years, 3 months ago (2013-09-23 20:39:06 UTC) #30
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=170772
7 years, 3 months ago (2013-09-23 21:51:41 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/22815034/142001
7 years, 3 months ago (2013-09-23 23:42:16 UTC) #32
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-24 01:04:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/22815034/170001
7 years, 3 months ago (2013-09-24 01:33:59 UTC) #34
commit-bot: I haz the power
7 years, 3 months ago (2013-09-24 09:37:36 UTC) #35
Message was sent while issue was closed.
Change committed as 224955

Powered by Google App Engine
This is Rietveld 408576698