DescriptionAdd missing status codes to WebSocketError enum.
Add the close status codes that were missing from net::WebSocketError, and also
change the style of the enum from ALL_UPPER to kCamelCase.
Also add a constructor to WebSocketFrameHeader to minimise boilerplate when it
is used, and utility functions IsKnownDataOpCode() and IsKnownControlOpCode()
which will be used by WebSocketCommon. Made WebSocketFrameHeader uncopyable and
added a Clone() method for more style-guide compliance.
BUG=237496
TEST=net_unittests --gtest_filter='WebSocket*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198725
Patch Set 1 #
Total comments: 13
Patch Set 2 : Fixes from tyoshino code review #
Total comments: 4
Patch Set 3 : Remove other mux status codes. #
Messages
Total messages: 8 (0 generated)
|