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

Issue 334873002: [WebSocket] Make subprotocol and extensions live in WebSocket (Closed)

Created:
6 years, 6 months ago by yhirano
Modified:
6 years, 6 months ago
CC:
blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[WebSocket] Make subprotocol and extensions live in WebSocket Currently WebSocketChannel has methods subprotocol and extensions. But they can be available only after the connection is established and they don't change once set. Futhermore, there is didConnect notification in WebSocketChannelClient. This CL removes subprotocol and extensions from WebSocketChannel and add them as WebSocketChannelClient::didConnect parameters. BUG=384238 R=tyoshino Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176115

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -153 lines) Patch
M Source/modules/websockets/MainThreadWebSocketChannel.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/modules/websockets/MainThreadWebSocketChannel.cpp View 2 chunks +3 lines, -23 lines 0 comments Download
M Source/modules/websockets/NewWebSocketChannelImpl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/modules/websockets/NewWebSocketChannelImpl.cpp View 2 chunks +1 line, -15 lines 0 comments Download
M Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h View 3 chunks +2 lines, -11 lines 0 comments Download
M Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp View 2 chunks +4 lines, -30 lines 0 comments Download
M Source/modules/websockets/WebSocket.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/websockets/WebSocket.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/websockets/WebSocketChannel.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/modules/websockets/WebSocketChannelClient.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/websockets/WebSocketTest.cpp View 18 chunks +12 lines, -38 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp View 2 chunks +3 lines, -15 lines 0 comments Download
M Source/web/WebSocketImpl.h View 4 chunks +4 lines, -2 lines 0 comments Download
M Source/web/WebSocketImpl.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
yhirano
6 years, 6 months ago (2014-06-13 08:09:35 UTC) #1
yhirano
cc to haraken because he is modifying modules/websocket.
6 years, 6 months ago (2014-06-13 08:12:01 UTC) #2
tyoshino (SeeGerritForStatus)
Nice cleanup! lgtm https://codereview.chromium.org/334873002/diff/1/Source/web/WebSocketImpl.cpp File Source/web/WebSocketImpl.cpp (right): https://codereview.chromium.org/334873002/diff/1/Source/web/WebSocketImpl.cpp#newcode131 Source/web/WebSocketImpl.cpp:131: m_extensions = extensions; let's set variables ...
6 years, 6 months ago (2014-06-13 09:00:12 UTC) #3
yhirano
+tkent for Source/web https://codereview.chromium.org/334873002/diff/1/Source/web/WebSocketImpl.cpp File Source/web/WebSocketImpl.cpp (right): https://codereview.chromium.org/334873002/diff/1/Source/web/WebSocketImpl.cpp#newcode131 Source/web/WebSocketImpl.cpp:131: m_extensions = extensions; On 2014/06/13 09:00:12, ...
6 years, 6 months ago (2014-06-13 09:04:03 UTC) #4
tkent
lgtm
6 years, 6 months ago (2014-06-13 09:18:44 UTC) #5
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 6 months ago (2014-06-13 09:19:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/334873002/20001
6 years, 6 months ago (2014-06-13 09:20:20 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-13 10:35:03 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 11:23:00 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/17010)
6 years, 6 months ago (2014-06-13 11:23:01 UTC) #10
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 6 months ago (2014-06-13 11:34:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/334873002/20001
6 years, 6 months ago (2014-06-13 11:35:43 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-13 12:24:14 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 13:14:17 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/17029)
6 years, 6 months ago (2014-06-13 13:14:18 UTC) #15
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 6 months ago (2014-06-13 13:41:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/334873002/20001
6 years, 6 months ago (2014-06-13 13:42:44 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-13 14:42:13 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 15:43:47 UTC) #19
Message was sent while issue was closed.
Change committed as 176115

Powered by Google App Engine
This is Rietveld 408576698