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

Issue 131333010: Rename closing_* in WebSocketChannel to received_close_ and do some refactoring (Closed)

Created:
6 years, 10 months ago by tyoshino (SeeGerritForStatus)
Modified:
6 years, 10 months ago
Reviewers:
Adam Rice
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Rename closing_* in WebSocketChannel to received_close_* and do some refactoring - Variable renaming: they should be prefixed with received_ so that reviewer can understand that they store values received from the server - HandleFrame() is just a part of ProcessFrame(). I want them to have names from which we can see that - Factor out the switch-clause in HandleFrame building a frame type string as the method is very long BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250983

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Addressed comments in #2 #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -46 lines) Patch
M net/websockets/websocket_channel.h View 1 2 3 2 chunks +17 lines, -11 lines 0 comments Download
M net/websockets/websocket_channel.cc View 1 2 3 8 chunks +47 lines, -35 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tyoshino (SeeGerritForStatus)
Some refactoring suggested.
6 years, 10 months ago (2014-02-10 11:38:21 UTC) #1
Adam Rice
https://codereview.chromium.org/131333010/diff/30001/net/websockets/websocket_channel.h File net/websockets/websocket_channel.h (right): https://codereview.chromium.org/131333010/diff/30001/net/websockets/websocket_channel.h#newcode201 net/websockets/websocket_channel.h:201: ChannelState HandleFrameBottomHalf( "BottomHalf" implies that it's just an arbitrary ...
6 years, 10 months ago (2014-02-10 12:00:28 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/131333010/diff/30001/net/websockets/websocket_channel.h File net/websockets/websocket_channel.h (right): https://codereview.chromium.org/131333010/diff/30001/net/websockets/websocket_channel.h#newcode201 net/websockets/websocket_channel.h:201: ChannelState HandleFrameBottomHalf( On 2014/02/10 12:00:28, Adam Rice wrote: > ...
6 years, 10 months ago (2014-02-12 02:31:25 UTC) #3
Adam Rice
lgtm
6 years, 10 months ago (2014-02-12 03:15:30 UTC) #4
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 10 months ago (2014-02-12 04:38:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/131333010/90001
6 years, 10 months ago (2014-02-12 04:39:31 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 04:39:33 UTC) #7
commit-bot: I haz the power
Failed to apply patch for net/websockets/websocket_channel.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-12 04:39:33 UTC) #8
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 10 months ago (2014-02-13 08:55:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/131333010/210001
6 years, 10 months ago (2014-02-13 08:55:28 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 14:24:29 UTC) #11
Message was sent while issue was closed.
Change committed as 250983

Powered by Google App Engine
This is Rietveld 408576698