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

Issue 292044: WebSocket support in chromium. (Closed)

Created:
11 years, 2 months ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

WebSocket support in chromium. Run with --enable-web-sockets enables WebSocket features. BUG=12497 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30440

Patch Set 1 #

Total comments: 40

Patch Set 2 : fix indentation #

Patch Set 3 : fix tyoshino comment #

Total comments: 2

Patch Set 4 : fix comment, indentation #

Total comments: 12

Patch Set 5 : Fix yuzo comment #

Total comments: 2

Patch Set 6 : fix copyright #

Total comments: 10

Patch Set 7 : fix tyoshino comment #

Patch Set 8 : Make WebSocketStreamHandleBridge RefCountedThreadSafe #

Patch Set 9 : rebase trunk. fix for URLRequestContextGetter' #

Patch Set 10 : rebaseline #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+644 lines, -5 lines) Patch
M chrome/browser/in_process_webkit/browser_webkitclient_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/in_process_webkit/browser_webkitclient_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -1 line 0 comments Download
A chrome/browser/renderer_host/socket_stream_dispatcher_host.h View 1 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/socket_stream_dispatcher_host.cc View 1 2 3 4 5 6 1 chunk +161 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/socket_stream_host.h View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/socket_stream_host.cc View 1 2 3 4 5 6 7 8 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -0 lines 0 comments Download
A chrome/common/net/socket_stream.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_glue.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
A chrome/renderer/socket_stream_dispatcher.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/renderer/socket_stream_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +214 lines, -0 lines 2 comments Download

Messages

Total messages: 17 (0 generated)
ukai
11 years, 2 months ago (2009-10-21 10:08:56 UTC) #1
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/292044/diff/1/7 File chrome/browser/renderer_host/socket_stream_dispatcher_host.h (right): http://codereview.chromium.org/292044/diff/1/7#newcode21 Line 21: public: indentation. http://codereview.chromium.org/292044/diff/1/9 File chrome/browser/renderer_host/socket_stream_host.h (right): http://codereview.chromium.org/292044/diff/1/9#newcode24 Line ...
11 years, 2 months ago (2009-10-22 03:34:18 UTC) #2
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/292044/diff/1/6 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/1/6#newcode48 Line 48: Could you add here some horizontal line and ...
11 years, 2 months ago (2009-10-22 04:32:17 UTC) #3
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/292044/diff/1/10 File chrome/chrome.gyp (right): http://codereview.chromium.org/292044/diff/1/10#newcode558 Line 558: 'common/net/socket_stream.h', Is .cc unnecessary? http://codereview.chromium.org/292044/diff/1/12 File chrome/renderer/render_thread.cc (right): ...
11 years, 2 months ago (2009-10-22 04:40:56 UTC) #4
ukai
http://codereview.chromium.org/292044/diff/1/6 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/1/6#newcode48 Line 48: On 2009/10/22 04:32:17, tyoshino wrote: > Could you ...
11 years, 2 months ago (2009-10-22 05:23:58 UTC) #5
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/292044/diff/1/15 File chrome/renderer/socket_stream_dispatcher.cc (right): http://codereview.chromium.org/292044/diff/1/15#newcode18 Line 18: // It communites with the main browser process ...
11 years, 2 months ago (2009-10-22 05:50:48 UTC) #6
ukai
http://codereview.chromium.org/292044/diff/1/15 File chrome/renderer/socket_stream_dispatcher.cc (right): http://codereview.chromium.org/292044/diff/1/15#newcode18 Line 18: // It communites with the main browser process ...
11 years, 2 months ago (2009-10-22 05:53:25 UTC) #7
Yuzo
http://codereview.chromium.org/292044/diff/1/6 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/1/6#newcode17 Line 17: SocketStreamDispatcherHost::~SocketStreamDispatcherHost() { Two questions: Q1: Do we really ...
11 years, 2 months ago (2009-10-22 06:01:55 UTC) #8
Yuzo
Additional comments. http://codereview.chromium.org/292044/diff/2003/2016 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/292044/diff/2003/2016#newcode252 Line 252: SocketStreamDispatcher* dispatch = s/dispatch/dispatcher/ ? 2 ...
11 years, 2 months ago (2009-10-22 06:43:03 UTC) #9
ukai
http://codereview.chromium.org/292044/diff/1/6 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/1/6#newcode17 Line 17: SocketStreamDispatcherHost::~SocketStreamDispatcherHost() { On 2009/10/22 06:01:55, Yuzo wrote: > ...
11 years, 2 months ago (2009-10-22 07:07:42 UTC) #10
Yuzo
LGTM http://codereview.chromium.org/292044/diff/7004/7018 File chrome/renderer/socket_stream_dispatcher.cc (right): http://codereview.chromium.org/292044/diff/7004/7018#newcode1 Line 1: // Copyright 2009 Google Inc. All Rights ...
11 years, 2 months ago (2009-10-22 07:18:47 UTC) #11
ukai
http://codereview.chromium.org/292044/diff/7004/7018 File chrome/renderer/socket_stream_dispatcher.cc (right): http://codereview.chromium.org/292044/diff/7004/7018#newcode1 Line 1: // Copyright 2009 Google Inc. All Rights Reserved. ...
11 years, 2 months ago (2009-10-22 08:10:30 UTC) #12
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/292044/diff/4005/3024 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/4005/3024#newcode83 Line 83: DeleteSocketStreamHost(socket_id); DeleteSocket... is better than socket_stream_host->Close()? Could you ...
11 years, 2 months ago (2009-10-22 09:07:58 UTC) #13
ukai
http://codereview.chromium.org/292044/diff/4005/3024 File chrome/browser/renderer_host/socket_stream_dispatcher_host.cc (right): http://codereview.chromium.org/292044/diff/4005/3024#newcode83 Line 83: DeleteSocketStreamHost(socket_id); On 2009/10/22 09:07:58, tyoshino wrote: > DeleteSocket... ...
11 years, 2 months ago (2009-10-22 09:54:54 UTC) #14
tyoshino (SeeGerritForStatus)
LGTM
11 years, 2 months ago (2009-10-23 01:48:15 UTC) #15
Denis Lagno
http://codereview.chromium.org/292044/diff/13016/chrome/renderer/socket_stream_dispatcher.cc File chrome/renderer/socket_stream_dispatcher.cc (right): http://codereview.chromium.org/292044/diff/13016/chrome/renderer/socket_stream_dispatcher.cc#newcode147 chrome/renderer/socket_stream_dispatcher.cc:147: OnClosed(); is not it an error? You call OnClosed() ...
9 years, 11 months ago (2011-01-27 12:21:12 UTC) #16
ukai
9 years, 11 months ago (2011-01-28 05:31:28 UTC) #17
http://codereview.chromium.org/292044/diff/13016/chrome/renderer/socket_strea...
File chrome/renderer/socket_stream_dispatcher.cc (right):

http://codereview.chromium.org/292044/diff/13016/chrome/renderer/socket_strea...
chrome/renderer/socket_stream_dispatcher.cc:147: OnClosed();
On 2011/01/27 12:21:13, Denis Lagno wrote:
> is not it an error?  You call OnClosed() which performs Release() but no
> AddRef() was executed on this branch?

Ah. good catch!
I'll fix it.

Powered by Google App Engine
This is Rietveld 408576698