| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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*'
Review URL: https://chromiumcodereview.appspot.com/14850012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198725 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
websocket_frame_parser.cc as well. To make this simple, we also re-use the
WebSocketMaskingKey type that it takes as a parameter.
BUG=
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/11571022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173469 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11316115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10824081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150095 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
But, SpdyStream and StreamSocket use IOBuffer in their interfaces.
To reduce memory copies, we should use IOBuffer to hold data.
BUG=none
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10796107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149387 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
BUG=121052
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9956013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136240 0039d316-1c4b-4281-b951-d872f2087c98
|